Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.001632/0.001632, allocations: 96.2 kB / 19.7 MB, free: 2.129 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.001975/0.001975, allocations: 211.5 kB / 23 MB, free: 4.934 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.156/3.156, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [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.003218/0.003218, allocations: 64.67 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4872, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.00634/0.4936, allocations: 3.503 MB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.4967, allocations: 1.305 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.4974, allocations: 15.94 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.498, allocations: 134.6 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.4984, allocations: 126.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.4993, allocations: 359.5 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.5004, allocations: 1.025 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006377/0.5011, allocations: 380.2 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.5015, allocations: 378.6 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.502, allocations: 406 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.5021, allocations: 120 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.5023, allocations: 124 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.5025, allocations: 231.3 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.5029, allocations: 342.3 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.5043, allocations: 1.304 MB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5043, allocations: 0 / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5043, allocations: 0 / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.5043, allocations: 3.938 kB / 1.337 GB, free: 7.223 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002733/0.507, allocations: 1.382 MB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5071, allocations: 8.031 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.5073, allocations: 104.3 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/0.5081, allocations: 482 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.5082, allocations: 58.36 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.5083, allocations: 76.38 kB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.5101, allocations: 0.8944 MB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5101, allocations: 4 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.5102, allocations: 24 kB / 1.339 GB, free: 4.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.5102, allocations: 20 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.512, allocations: 0.6753 MB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.5153, allocations: 2.034 MB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.5171, allocations: 0.6833 MB / 1.343 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008086/0.518, allocations: 338.3 kB / 1.343 GB, free: 272 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.518, allocations: 4.438 kB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000987/0.519, allocations: 374.2 kB / 1.344 GB, free: 15.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=51): time 3.266e-06/0.519, allocations: 0 / 1.344 GB, free: 15.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=51): time 0.002362/0.5213, allocations: 0.8499 MB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5215, allocations: 137 kB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/0.5221, allocations: 493.9 kB / 1.345 GB, free: 14.37 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.5222, allocations: 37.7 kB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.5225, allocations: 376.5 kB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.5227, allocations: 182.5 kB / 1.346 GB, free: 13.78 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.5229, allocations: 110.3 kB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5231, allocations: 370.7 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008161/0.5239, allocations: 342.6 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.5249, allocations: 0.6425 MB / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.5264, allocations: 0.6536 MB / 1.348 GB, free: 11.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.5265, allocations: 4 kB / 1.348 GB, free: 11.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001938/0.5284, allocations: 0.8589 MB / 1.348 GB, free: 10.6 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.5285, allocations: 67.39 kB / 1.348 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.5285, allocations: 256 / 1.348 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.5285, allocations: 12 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.5291, allocations: 135.8 kB / 1.349 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.5291, allocations: 11.88 kB / 1.349 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.5297, allocations: 111.6 kB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.5298, allocations: 27.98 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000873/0.5306, allocations: 436.7 kB / 1.349 GB, free: 9.789 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008338/0.5315, allocations: 0.5828 MB / 1.35 GB, free: 9.098 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001201/0.5327, allocations: 0.5794 MB / 1.35 GB, free: 8.473 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.5327, allocations: 3.938 kB / 1.35 GB, free: 8.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001552/0.5342, allocations: 0.7537 MB / 1.351 GB, free: 7.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.5343, allocations: 67.39 kB / 1.351 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5343, allocations: 4.281 kB / 1.351 GB, free: 7.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.5343, allocations: 8 kB / 1.351 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.5348, allocations: 119.8 kB / 1.351 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.5348, allocations: 11.98 kB / 1.351 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.5353, allocations: 99.64 kB / 1.351 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.5353, allocations: 20 kB / 1.351 GB, free: 7.352 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,TRoo.T_start,$PRE.TRoo.T_start,TRoo.count,$PRE.TRoo.count,m_flow.T_start,$PRE.m_flow.T_start,m_flow.count,$PRE.m_flow.count,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0002519/0.5356, allocations: 225.3 kB / 1.352 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.5357, allocations: 63.61 kB / 1.352 GB, free: 7.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.5374, allocations: 0.65 MB / 1.352 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5374, allocations: 3.984 kB / 1.352 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5374, allocations: 0 / 1.352 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.5375, allocations: 67.55 kB / 1.352 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/0.5376, allocations: 16 kB / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.538, allocations: 67.84 kB / 1.352 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.5381, allocations: 44.36 kB / 1.352 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002086/0.5402, allocations: 0.7494 MB / 1.353 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002467/0.5427, allocations: 1.13 MB / 1.354 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007297/0.5434, allocations: 287.3 kB / 1.355 GB, free: 4.027 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000443/0.5439, allocations: 338.9 kB / 1.355 GB, free: 3.699 MB / 1.045 GB Notification: Performance of Backend: time 4.01e-07/0.5439, allocations: 0 / 1.355 GB, free: 3.699 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.5463, allocations: 1.061 MB / 1.356 GB, free: 2.555 MB / 1.045 GB Notification: Performance of SimCode: time 0.002291/0.5486, allocations: 1.532 MB / 1.357 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of Templates: time 0.02038/0.569, allocations: 11.98 MB / 1.369 GB, free: 5.121 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.584560676994442]