Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conMix.TRoo|conMix.TRooSetHea|conMix.TRooSetCoo|conMix.yHot|conMix.yCol|m_flow.y",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 114.1 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 187.3 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.478/2.478, allocations: 442.6 MB / 0.7166 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 64.17 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3251, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005453/0.3306, allocations: 3.931 MB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3332, allocations: 1.297 MB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.3337, allocations: 19.94 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.3341, allocations: 126.6 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.3344, allocations: 126.8 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.3351, allocations: 351.5 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.3361, allocations: 1.041 MB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000765/0.3368, allocations: 0.5348 MB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.3372, allocations: 370.6 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.3377, allocations: 402.1 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.3378, allocations: 120 kB / 1.035 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.338, allocations: 120 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.3382, allocations: 231.2 kB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.3386, allocations: 437.8 kB / 1.036 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.3399, allocations: 1.292 MB / 1.037 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3399, allocations: 0 / 1.037 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3399, allocations: 0 / 1.037 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.3399, allocations: 0 / 1.037 GB, free: 7.648 MB / 0.8106 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.002312/0.3422, allocations: 1.228 MB / 1.038 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3423, allocations: 8.031 kB / 1.038 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.3425, allocations: 91.81 kB / 1.038 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.3432, allocations: 0.5307 MB / 1.039 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.3433, allocations: 58.38 kB / 1.039 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.3434, allocations: 76.31 kB / 1.039 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.345, allocations: 0.8191 MB / 1.04 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.345, allocations: 0 / 1.04 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.3451, allocations: 28 kB / 1.04 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.3451, allocations: 16 kB / 1.04 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.3468, allocations: 0.6792 MB / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.3501, allocations: 2.446 MB / 1.043 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.3519, allocations: 0.7156 MB / 1.043 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.3527, allocations: 354 kB / 1.044 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.3528, allocations: 4.438 kB / 1.044 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008938/0.3537, allocations: 373.2 kB / 1.044 GB, free: 16 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=51): time 3.407e-06/0.3537, allocations: 0 / 1.044 GB, free: 16 kB / 0.8106 GB Notification: Performance of matching and sorting (n=51): time 0.002364/0.3561, allocations: 0.8495 MB / 1.045 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.3562, allocations: 137 kB / 1.045 GB, free: 15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.3569, allocations: 0.5654 MB / 1.046 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.3569, allocations: 37.7 kB / 1.046 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.3572, allocations: 369.1 kB / 1.046 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.3574, allocations: 169.5 kB / 1.046 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3576, allocations: 110.2 kB / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3578, allocations: 378.7 kB / 1.047 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.3585, allocations: 279 kB / 1.047 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.3594, allocations: 417.1 kB / 1.047 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.3609, allocations: 0.6546 MB / 1.048 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3609, allocations: 8 kB / 1.048 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001866/0.3628, allocations: 0.806 MB / 1.049 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.3629, allocations: 70.83 kB / 1.049 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3629, allocations: 4 kB / 1.049 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3629, allocations: 4 kB / 1.049 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.3635, allocations: 143.9 kB / 1.049 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3636, allocations: 4 kB / 1.049 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.3641, allocations: 115.3 kB / 1.049 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.3642, allocations: 27.98 kB / 1.049 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000791/0.365, allocations: 389.2 kB / 1.049 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006483/0.3656, allocations: 365.1 kB / 1.05 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001147/0.3668, allocations: 0.5688 MB / 1.05 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.706e-06/0.3668, allocations: 0 / 1.05 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001456/0.3683, allocations: 0.7044 MB / 1.051 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.3683, allocations: 67.67 kB / 1.051 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3683, allocations: 11.94 kB / 1.051 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.3684, allocations: 4 kB / 1.051 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.3688, allocations: 119.8 kB / 1.051 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3688, allocations: 12.03 kB / 1.051 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.3694, allocations: 107.4 kB / 1.051 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.3694, allocations: 23.98 kB / 1.051 GB, free: 8.234 MB / 0.8262 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,m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$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.0002185/0.3696, allocations: 220.5 kB / 1.052 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/0.3697, allocations: 63.25 kB / 1.052 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.3714, allocations: 0.6509 MB / 1.052 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3714, allocations: 3.984 kB / 1.052 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3714, allocations: 4 kB / 1.052 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3716, allocations: 148.1 kB / 1.052 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.3716, allocations: 15.94 kB / 1.052 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3721, allocations: 67.91 kB / 1.053 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.3722, allocations: 44.38 kB / 1.053 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001918/0.3741, allocations: 0.7454 MB / 1.053 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002421/0.3766, allocations: 1.134 MB / 1.054 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007301/0.3773, allocations: 303.3 kB / 1.055 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005001/0.3778, allocations: 410.8 kB / 1.055 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of Backend: time 9.72e-07/0.3778, allocations: 0 / 1.055 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002307/0.3802, allocations: 0.9946 MB / 1.056 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of SimCode: time 0.00224/0.3824, allocations: 1.528 MB / 1.058 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.01775/0.4002, allocations: 10.43 MB / 1.068 GB, free: 7.395 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches