Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.148/3.148, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.41 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3738, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002032/0.3758, allocations: 0.6515 MB / 1.317 GB, free: 9.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3775, allocations: 1.198 MB / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.3776, allocations: 0 / 1.318 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3776, allocations: 7.922 kB / 1.318 GB, free: 7.809 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.3777, allocations: 11.94 kB / 1.318 GB, free: 7.797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.3785, allocations: 221.9 kB / 1.318 GB, free: 7.586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.3787, allocations: 175.6 kB / 1.318 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.3788, allocations: 8 kB / 1.318 GB, free: 7.406 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.379, allocations: 71.88 kB / 1.318 GB, free: 7.336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3791, allocations: 63.86 kB / 1.318 GB, free: 7.273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.3792, allocations: 15.94 kB / 1.318 GB, free: 7.258 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3793, allocations: 27.98 kB / 1.318 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.3793, allocations: 7.984 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.3794, allocations: 59.83 kB / 1.318 GB, free: 7.164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.3796, allocations: 159.5 kB / 1.319 GB, free: 7.008 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3796, allocations: 0 / 1.319 GB, free: 7.008 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3797, allocations: 0 / 1.319 GB, free: 7.008 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3797, allocations: 0 / 1.319 GB, free: 7.008 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006245/0.3803, allocations: 361.5 kB / 1.319 GB, free: 6.609 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3803, allocations: 8.031 kB / 1.319 GB, free: 6.602 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.3804, allocations: 12.89 kB / 1.319 GB, free: 6.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3805, allocations: 114.5 kB / 1.319 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3805, allocations: 8.375 kB / 1.319 GB, free: 6.445 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.3806, allocations: 8.375 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3807, allocations: 54.23 kB / 1.319 GB, free: 6.379 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3807, allocations: 4.188 kB / 1.319 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3807, allocations: 3.938 kB / 1.319 GB, free: 6.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3807, allocations: 0 / 1.319 GB, free: 6.371 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.3808, allocations: 12 kB / 1.319 GB, free: 6.359 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.3813, allocations: 323.8 kB / 1.32 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.3814, allocations: 38.5 kB / 1.32 GB, free: 5.953 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.3815, allocations: 16.86 kB / 1.32 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.3815, allocations: 0 / 1.32 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.3816, allocations: 87.38 kB / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3816, allocations: 0 / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002622/0.3819, allocations: 101.6 kB / 1.32 GB, free: 5.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.3819, allocations: 51.41 kB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.382, allocations: 125.7 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.3821, allocations: 34.08 kB / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.3822, allocations: 96.12 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.3822, allocations: 11.89 kB / 1.32 GB, free: 5.387 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.3823, allocations: 49.69 kB / 1.32 GB, free: 5.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3824, allocations: 322.7 kB / 1.32 GB, free: 5.008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3826, allocations: 67.95 kB / 1.32 GB, free: 4.941 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.3827, allocations: 96.2 kB / 1.321 GB, free: 4.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.383, allocations: 159.6 kB / 1.321 GB, free: 4.648 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.383, allocations: 3.938 kB / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004392/0.3834, allocations: 268.8 kB / 1.321 GB, free: 4.363 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.3835, allocations: 67.39 kB / 1.321 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3835, allocations: 4 kB / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3835, allocations: 0 / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.241e-05/0.3835, allocations: 4 kB / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3835, allocations: 320 / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.3838, allocations: 48.06 kB / 1.321 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.3839, allocations: 19.92 kB / 1.321 GB, free: 4.211 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.384, allocations: 123.2 kB / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.384, allocations: 11.95 kB / 1.321 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.384, allocations: 12.36 kB / 1.321 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.384, allocations: 3.984 kB / 1.321 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.384, allocations: 0 / 1.321 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.384, allocations: 0 / 1.321 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.3842, allocations: 152.6 kB / 1.321 GB, free: 3.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3842, allocations: 4 kB / 1.321 GB, free: 3.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-06/0.3842, allocations: 0 / 1.321 GB, free: 3.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3842, allocations: 4 kB / 1.321 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3842, allocations: 8.047 kB / 1.321 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3842, allocations: 0 / 1.321 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.3842, allocations: 96 / 1.321 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3844, allocations: 128.8 kB / 1.322 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.3844, allocations: 3.953 kB / 1.322 GB, free: 3.695 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3844, allocations: 4 kB / 1.322 GB, free: 3.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.3844, allocations: 4 kB / 1.322 GB, free: 3.688 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.3845, allocations: 11.98 kB / 1.322 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3845, allocations: 0 / 1.322 GB, free: 3.676 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.845e-05/0.3846, allocations: 91.27 kB / 1.322 GB, free: 3.586 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3846, allocations: 0 / 1.322 GB, free: 3.586 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002237/0.3848, allocations: 28 kB / 1.322 GB, free: 3.559 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.3849, allocations: 103.2 kB / 1.322 GB, free: 3.449 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.3853, allocations: 218.6 kB / 1.322 GB, free: 3.211 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3853, allocations: 4 kB / 1.322 GB, free: 3.207 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.3853, allocations: 23.92 kB / 1.322 GB, free: 3.184 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3855, allocations: 22.11 kB / 1.322 GB, free: 3.164 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.3858, allocations: 146.8 kB / 1.322 GB, free: 2.992 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3862, allocations: 0.6926 MB / 1.323 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.3863, allocations: 4 kB / 1.323 GB, free: 2.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.3863, allocations: 15.44 kB / 1.323 GB, free: 2.254 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3863, allocations: 0 / 1.323 GB, free: 2.254 MB / 1.014 GB Notification: Performance of Templates: time 0.004867/0.3912, allocations: 1.879 MB / 1.325 GB, free: 408 kB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.13854374177754]