Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001723, allocations: 106.2 kB / 16.41 MB, free: 6.453 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.001876/0.001876, allocations: 192 kB / 17.34 MB, free: 5.715 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.587/1.587, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 474.5 MB / 0.7477 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.91 kB / 1.073 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8742, allocations: 160.3 MB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003266/0.8775, allocations: 1.129 MB / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.8792, allocations: 1.022 MB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.8794, allocations: 0 / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.475e-05/0.8795, allocations: 23.67 kB / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.8797, allocations: 35.67 kB / 1.231 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.88, allocations: 83.91 kB / 1.231 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.8804, allocations: 228.2 kB / 1.232 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.8807, allocations: 136 kB / 1.232 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.8809, allocations: 95.58 kB / 1.232 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.8811, allocations: 99.47 kB / 1.232 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.8811, allocations: 24 kB / 1.232 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.8812, allocations: 28 kB / 1.232 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.8813, allocations: 55.83 kB / 1.232 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.8814, allocations: 103.4 kB / 1.232 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.8818, allocations: 303.2 kB / 1.232 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8818, allocations: 0 / 1.232 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8818, allocations: 0 / 1.232 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8819, allocations: 0 / 1.232 GB, free: 7.52 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008548/0.8827, allocations: 0.4989 MB / 1.233 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8828, allocations: 8.031 kB / 1.233 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.8828, allocations: 32.73 kB / 1.233 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.8834, allocations: 284.2 kB / 1.233 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.8834, allocations: 16.81 kB / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.8835, allocations: 20.38 kB / 1.233 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.8839, allocations: 195.8 kB / 1.233 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.8839, allocations: 192 / 1.233 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.884, allocations: 11.94 kB / 1.233 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.884, allocations: 8 kB / 1.233 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.8844, allocations: 153.7 kB / 1.234 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.8854, allocations: 0.5958 MB / 1.234 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.8859, allocations: 162.5 kB / 1.234 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.8861, allocations: 68.81 kB / 1.234 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.8861, allocations: 0 / 1.234 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.8861, allocations: 34.56 kB / 1.234 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.8861, allocations: 4 kB / 1.234 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0007486/0.8869, allocations: 219 kB / 1.235 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.8869, allocations: 55.41 kB / 1.235 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.8871, allocations: 174.3 kB / 1.235 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.8872, allocations: 33.69 kB / 1.235 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.8873, allocations: 144.4 kB / 1.235 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.8874, allocations: 47.64 kB / 1.235 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/0.8875, allocations: 57.69 kB / 1.235 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8876, allocations: 322.8 kB / 1.235 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.8878, allocations: 55.95 kB / 1.236 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.888, allocations: 100.1 kB / 1.236 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.8884, allocations: 142.4 kB / 1.236 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8884, allocations: 11.94 kB / 1.236 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004511/0.8889, allocations: 193.2 kB / 1.236 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8889, allocations: 10.19 kB / 1.236 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8889, allocations: 0 / 1.236 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8889, allocations: 4 kB / 1.236 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.8892, allocations: 27.97 kB / 1.236 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.8892, allocations: 12.09 kB / 1.236 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.8893, allocations: 27.83 kB / 1.236 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.8893, allocations: 4 kB / 1.236 GB, free: 3.586 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0002805/0.8896, allocations: 137.8 kB / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.8897, allocations: 19.83 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.8898, allocations: 17.88 kB / 1.236 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8898, allocations: 4 kB / 1.236 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.8898, allocations: 4 kB / 1.236 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8898, allocations: 3.938 kB / 1.236 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.8902, allocations: 277.4 kB / 1.236 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8902, allocations: 3.938 kB / 1.236 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.8904, allocations: 23.97 kB / 1.237 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.8904, allocations: 4 kB / 1.237 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.8904, allocations: 8 kB / 1.237 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8904, allocations: 0 / 1.237 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8904, allocations: 0 / 1.237 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.8909, allocations: 271.2 kB / 1.237 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.891, allocations: 92.95 kB / 1.237 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.8911, allocations: 0 / 1.237 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.8912, allocations: 11.98 kB / 1.237 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.8913, allocations: 23.97 kB / 1.237 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.8913, allocations: 8 kB / 1.237 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001053/0.8914, allocations: 124.2 kB / 1.237 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8914, allocations: 0 / 1.237 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002941/0.8917, allocations: 43.84 kB / 1.237 GB, free: 2.434 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001702/0.8919, allocations: 113.6 kB / 1.237 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.8924, allocations: 149.9 kB / 1.237 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8924, allocations: 0 / 1.237 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.8926, allocations: 83.89 kB / 1.237 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.893, allocations: 23.92 kB / 1.237 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/0.8938, allocations: 350.8 kB / 1.238 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.8942, allocations: 0.7358 MB / 1.238 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.8943, allocations: 25.53 kB / 1.239 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.8944, allocations: 23.44 kB / 1.239 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.8944, allocations: 4 kB / 1.239 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of Templates: time 0.005472/0.8999, allocations: 1.487 MB / 1.24 GB, free: 15.45 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches