Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001429/0.001429, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01024/0.01024, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 8.281 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6725/0.6729, allocations: 153.8 MB / 1.023 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003871/0.6768, allocations: 3.475 MB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.6791, allocations: 1.25 MB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.6794, allocations: 16 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.6797, allocations: 95.09 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.68, allocations: 87.36 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.6805, allocations: 307.7 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.6814, allocations: 0.9238 MB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.6822, allocations: 0.5113 MB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.6825, allocations: 222.6 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.6828, allocations: 290.1 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.6828, allocations: 24 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.6829, allocations: 24 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.683, allocations: 115.3 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.6832, allocations: 339.5 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.6842, allocations: 1.139 MB / 1.032 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6842, allocations: 0 / 1.032 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6842, allocations: 4 kB / 1.032 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.6842, allocations: 0 / 1.032 GB, free: 7.262 MB / 0.7794 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.00219/0.6864, allocations: 1.122 MB / 1.033 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.6865, allocations: 15.98 kB / 1.033 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.6866, allocations: 91.81 kB / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.6873, allocations: 0.5267 MB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.6874, allocations: 54.38 kB / 1.033 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6875, allocations: 80.36 kB / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.6893, allocations: 0.8582 MB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.6893, allocations: 0 / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.6894, allocations: 28 kB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.6894, allocations: 16 kB / 1.034 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.6913, allocations: 0.7611 MB / 1.035 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/0.695, allocations: 2.512 MB / 1.038 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.6971, allocations: 0.7932 MB / 1.038 GB, free: 200 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.698, allocations: 390 kB / 1.039 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.698, allocations: 9.453 kB / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.6991, allocations: 413.1 kB / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of pre-optimization done (n=51): time 3.236e-06/0.6991, allocations: 0 / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=51): time 0.002554/0.7017, allocations: 0.9784 MB / 1.04 GB, free: 14.4 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/0.7018, allocations: 144.9 kB / 1.04 GB, free: 14.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.7025, allocations: 0.5654 MB / 1.041 GB, free: 13.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.7026, allocations: 41.64 kB / 1.041 GB, free: 13.61 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.7029, allocations: 360.2 kB / 1.041 GB, free: 13.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.703, allocations: 169.5 kB / 1.041 GB, free: 13.08 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.7031, allocations: 57.69 kB / 1.041 GB, free: 13.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7033, allocations: 378.7 kB / 1.042 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.7041, allocations: 313 kB / 1.042 GB, free: 12.34 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/0.705, allocations: 453.1 kB / 1.042 GB, free: 11.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.7067, allocations: 0.7405 MB / 1.043 GB, free: 11.06 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7067, allocations: 0 / 1.043 GB, free: 11.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001968/0.7087, allocations: 0.8998 MB / 1.044 GB, free: 10.14 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.7088, allocations: 202.4 kB / 1.044 GB, free: 9.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.7089, allocations: 7.984 kB / 1.044 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.7089, allocations: 8 kB / 1.044 GB, free: 9.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.7095, allocations: 167.7 kB / 1.044 GB, free: 9.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.7096, allocations: 11.94 kB / 1.044 GB, free: 9.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.7102, allocations: 147.3 kB / 1.045 GB, free: 9.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.7102, allocations: 27.92 kB / 1.045 GB, free: 9.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.7103, allocations: 4 kB / 1.045 GB, free: 9.527 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001483/0.7117, allocations: 0.692 MB / 1.045 GB, free: 8.824 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7118, allocations: 7.984 kB / 1.045 GB, free: 8.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.7118, allocations: 4 kB / 1.045 GB, free: 8.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.7123, allocations: 135.8 kB / 1.045 GB, free: 8.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7123, allocations: 8 kB / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.7128, allocations: 119.4 kB / 1.046 GB, free: 8.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.7129, allocations: 20 kB / 1.046 GB, free: 8.535 MB / 0.795 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.0003958/0.7133, allocations: 305.4 kB / 1.046 GB, free: 8.227 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.7134, allocations: 63.23 kB / 1.046 GB, free: 8.164 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.7152, allocations: 0.7329 MB / 1.047 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.7152, allocations: 4 kB / 1.047 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7152, allocations: 0 / 1.047 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7153, allocations: 7.922 kB / 1.047 GB, free: 7.414 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.716, allocations: 0.712 MB / 1.047 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.716, allocations: 0 / 1.047 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.7166, allocations: 143.8 kB / 1.047 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.7166, allocations: 0 / 1.047 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.7167, allocations: 8 kB / 1.047 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.7167, allocations: 8 kB / 1.047 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7167, allocations: 0 / 1.047 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.7193, allocations: 1.104 MB / 1.049 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.7195, allocations: 148.3 kB / 1.049 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.7195, allocations: 16 kB / 1.049 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.72, allocations: 87.92 kB / 1.049 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.7202, allocations: 48.36 kB / 1.049 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.7202, allocations: 12 kB / 1.049 GB, free: 5.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004788/0.7207, allocations: 406.8 kB / 1.049 GB, free: 4.652 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7207, allocations: 0 / 1.049 GB, free: 4.652 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006768/0.7214, allocations: 262.9 kB / 1.049 GB, free: 4.395 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001379/0.7215, allocations: 115.2 kB / 1.05 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002655/0.7242, allocations: 1.249 MB / 1.051 GB, free: 2.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7242, allocations: 12 kB / 1.051 GB, free: 2.969 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.725, allocations: 350.3 kB / 1.051 GB, free: 2.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.7258, allocations: 127.7 kB / 1.051 GB, free: 2.504 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.728, allocations: 1.481 MB / 1.053 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.7284, allocations: 0.9065 MB / 1.054 GB, free: 48 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003469/0.7288, allocations: 80.88 kB / 1.054 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.729, allocations: 51.42 kB / 1.054 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.729, allocations: 0 / 1.054 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.01266/0.7416, allocations: 7.092 MB / 1.061 GB, free: 8.883 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches