Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 180.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 97.27 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.682e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3044, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9075/1.212, allocations: 153.2 MB / 1.356 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.212, allocations: 84.64 kB / 1.356 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03069/1.243, allocations: 12.02 MB / 1.367 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.963e-06/1.243, allocations: 0 / 1.367 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.647e-05/1.243, allocations: 15.31 kB / 1.367 GB, free: 33.38 MB / 0.8386 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.002425/1.246, allocations: 1.013 MB / 1.368 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.246, allocations: 7.75 kB / 1.368 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/1.246, allocations: 93.09 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009027/1.247, allocations: 0.5037 MB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/1.247, allocations: 23.25 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.247, allocations: 45.97 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001038/1.248, allocations: 460.1 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.249, allocations: 0.5975 MB / 1.37 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.249, allocations: 4 kB / 1.37 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/1.249, allocations: 7.219 kB / 1.37 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/1.249, allocations: 15.34 kB / 1.37 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/1.253, allocations: 2.197 MB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/1.253, allocations: 0.5343 MB / 1.373 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/1.254, allocations: 256.9 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/1.254, allocations: 4.188 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/1.254, allocations: 287.3 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.405e-06/1.254, allocations: 4 kB / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0007026/1.255, allocations: 441.9 kB / 1.374 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/1.255, allocations: 139.2 kB / 1.374 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/1.256, allocations: 384.1 kB / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/1.256, allocations: 29.55 kB / 1.374 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/1.256, allocations: 344.8 kB / 1.375 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.256, allocations: 176.8 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/1.256, allocations: 0 / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.256, allocations: 365.8 kB / 1.375 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/1.256, allocations: 166.5 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/1.257, allocations: 262 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.257, allocations: 184.3 kB / 1.376 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.257, allocations: 0 / 1.376 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006896/1.258, allocations: 0.4919 MB / 1.376 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/1.258, allocations: 426.5 kB / 1.377 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.258, allocations: 3.984 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.258, allocations: 3.844 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/1.259, allocations: 159.5 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.259, allocations: 3.938 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/1.259, allocations: 125.5 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.259, allocations: 18.28 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/1.259, allocations: 3.938 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006608/1.26, allocations: 401.5 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.26, allocations: 4 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/1.26, allocations: 3.875 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/1.26, allocations: 134.2 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.26, allocations: 3.844 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/1.261, allocations: 93.28 kB / 1.377 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/1.261, allocations: 18.62 kB / 1.377 GB, free: 29.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/1.261, allocations: 124.1 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/1.261, allocations: 60.48 kB / 1.378 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007986/1.262, allocations: 460.3 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/1.262, allocations: 11.5 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.262, allocations: 0 / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.262, allocations: 2.484 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/1.264, allocations: 1.133 MB / 1.379 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.264, allocations: 3.953 kB / 1.379 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/1.264, allocations: 143.4 kB / 1.379 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.264, allocations: 3.656 kB / 1.379 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/1.264, allocations: 3 kB / 1.379 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.264, allocations: 6.891 kB / 1.379 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.264, allocations: 0 / 1.379 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/1.265, allocations: 0.7749 MB / 1.38 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.266, allocations: 136.4 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/1.266, allocations: 11.09 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/1.266, allocations: 80.41 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.266, allocations: 55.08 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.266, allocations: 18.28 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000355/1.267, allocations: 287.8 kB / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.267, allocations: 0 / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006561/1.267, allocations: 255.8 kB / 1.381 GB, free: 28.84 MB / 0.8386 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: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/1.268, allocations: 113.7 kB / 1.381 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.269, allocations: 0.8667 MB / 1.382 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.269, allocations: 3.938 kB / 1.382 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/1.269, allocations: 224.8 kB / 1.382 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/1.27, allocations: 96.44 kB / 1.382 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/1.271, allocations: 0.8224 MB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/1.272, allocations: 0.9283 MB / 1.384 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004138/1.272, allocations: 92.83 kB / 1.384 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/1.272, allocations: 45.36 kB / 1.384 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.272, allocations: 0 / 1.384 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.01079/1.283, allocations: 6.717 MB / 1.391 GB, free: 23.96 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.csv","../files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches