Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 213.2 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.49 GB / 0.7959 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 68.52 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3814, allocations: 176.1 MB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.008466/0.3899, allocations: 4.783 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005535/0.3954, allocations: 2.446 MB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.3966, allocations: 43.69 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.3971, allocations: 122.7 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.3975, allocations: 114.9 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.3989, allocations: 0.49 MB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.3999, allocations: 0.888 MB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.4005, allocations: 310.8 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.4009, allocations: 334.7 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.4014, allocations: 350.2 kB / 1.337 GB, free: 7.148 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.4015, allocations: 87.94 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.4019, allocations: 195.9 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.4021, allocations: 171.4 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.4025, allocations: 302.4 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.4038, allocations: 1.046 MB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4038, allocations: 4 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4038, allocations: 0 / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.4038, allocations: 0 / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002288/0.4061, allocations: 1.156 MB / 1.34 GB, free: 4.148 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4061, allocations: 8.031 kB / 1.34 GB, free: 4.141 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.4064, allocations: 96.41 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.4072, allocations: 437.3 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/0.4073, allocations: 49.69 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4074, allocations: 76.38 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4086, allocations: 0.6502 MB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.4086, allocations: 4 kB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.4087, allocations: 27.98 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.4087, allocations: 16 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.4097, allocations: 429 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.4136, allocations: 1.971 MB / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.4156, allocations: 0.6544 MB / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.4161, allocations: 226.4 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.4161, allocations: 4.375 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005875/0.4167, allocations: 265.3 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=51): time 4.368e-06/0.4167, allocations: 0 / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=51): time 0.00139/0.4181, allocations: 0.5846 MB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.4182, allocations: 119.2 kB / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/0.4189, allocations: 473.9 kB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/0.419, allocations: 53.64 kB / 1.346 GB, free: 13.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.4193, allocations: 340.8 kB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.4195, allocations: 174.5 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.4197, allocations: 130.3 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.4199, allocations: 366.8 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.4204, allocations: 233.1 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007439/0.4211, allocations: 0.5924 MB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.4221, allocations: 0.5251 MB / 1.348 GB, free: 11.28 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4221, allocations: 0 / 1.348 GB, free: 11.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001313/0.4234, allocations: 0.7032 MB / 1.348 GB, free: 10.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.4234, allocations: 39.58 kB / 1.349 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.4235, allocations: 4 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.4235, allocations: 8.5 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.4239, allocations: 107.8 kB / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.4239, allocations: 11.94 kB / 1.349 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.4245, allocations: 115.5 kB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.4246, allocations: 27.94 kB / 1.349 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005969/0.4251, allocations: 351.1 kB / 1.349 GB, free: 9.887 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006618/0.4258, allocations: 0.5603 MB / 1.35 GB, free: 9.203 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007406/0.4266, allocations: 489.8 kB / 1.35 GB, free: 8.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.4266, allocations: 4 kB / 1.35 GB, free: 8.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001114/0.4277, allocations: 0.6564 MB / 1.351 GB, free: 7.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.4277, allocations: 41.69 kB / 1.351 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4277, allocations: 4 kB / 1.351 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.4277, allocations: 8 kB / 1.351 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.4281, allocations: 99.81 kB / 1.351 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4281, allocations: 7.938 kB / 1.351 GB, free: 7.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.4286, allocations: 104 kB / 1.351 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.4287, allocations: 27.98 kB / 1.351 GB, free: 7.699 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0002459/0.4289, allocations: 234 kB / 1.351 GB, free: 7.465 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.429, allocations: 55.62 kB / 1.351 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.4292, allocations: 61.58 kB / 1.351 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.4292, allocations: 4 kB / 1.351 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4292, allocations: 3.984 kB / 1.351 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.4293, allocations: 55.56 kB / 1.351 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.4293, allocations: 12 kB / 1.351 GB, free: 7.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.4296, allocations: 31.95 kB / 1.351 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.4297, allocations: 40.31 kB / 1.352 GB, free: 7.207 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001165/0.4308, allocations: 0.5347 MB / 1.352 GB, free: 6.664 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00141/0.4322, allocations: 0.8373 MB / 1.353 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003795/0.4326, allocations: 191.4 kB / 1.353 GB, free: 5.625 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004343/0.4331, allocations: 310.9 kB / 1.353 GB, free: 5.324 MB / 1.045 GB Notification: Performance of Backend: time 6.11e-07/0.4331, allocations: 3.938 kB / 1.353 GB, free: 5.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.435, allocations: 0.9174 MB / 1.354 GB, free: 4.348 MB / 1.045 GB Notification: Performance of SimCode: time 0.002343/0.4373, allocations: 1.476 MB / 1.356 GB, free: 2.82 MB / 1.045 GB Notification: Performance of Templates: time 0.02156/0.4589, allocations: 11.01 MB / 1.366 GB, free: 7.969 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.709212526999181]