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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009857/0.009857, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.00175/0.00175, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003133/1.17, allocations: 1.134 MB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001595/1.171, allocations: 1.014 MB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/1.172, allocations: 0 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.263e-05/1.172, allocations: 23.67 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/1.172, allocations: 35.66 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/1.172, allocations: 79.92 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000267/1.172, allocations: 232.2 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/1.173, allocations: 124.1 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/1.173, allocations: 99.56 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/1.173, allocations: 103.5 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/1.173, allocations: 24 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.243e-05/1.173, allocations: 28 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/1.173, allocations: 55.83 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/1.173, allocations: 103.4 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/1.174, allocations: 300.7 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.174, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.033e-06/1.174, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.166e-05/1.174, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 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.0008145/1.175, allocations: 0.4913 MB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.175, allocations: 12.03 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/1.175, allocations: 24.66 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/1.175, allocations: 284.1 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/1.175, allocations: 16.81 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/1.175, allocations: 16.38 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/1.176, allocations: 203.8 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.176, allocations: 4.188 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/1.176, allocations: 11.94 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/1.176, allocations: 4 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/1.176, allocations: 153.7 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/1.177, allocations: 0.5917 MB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/1.177, allocations: 158.6 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/1.178, allocations: 64.81 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/1.178, allocations: 4 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.178, allocations: 34.56 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 3.156e-06/1.178, allocations: 7.938 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0006018/1.178, allocations: 217.2 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/1.178, allocations: 51.41 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/1.179, allocations: 187.9 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/1.179, allocations: 29.7 kB / 1.213 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/1.179, allocations: 140.1 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/1.179, allocations: 47.52 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/1.179, allocations: 53.69 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.179, allocations: 322.8 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/1.179, allocations: 55.95 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/1.179, allocations: 107.7 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/1.18, allocations: 150.9 kB / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.18, allocations: 0 / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004005/1.18, allocations: 191.1 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.18, allocations: 4 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.18, allocations: 4 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.18, allocations: 3.984 kB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/1.18, allocations: 36.14 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.18, allocations: 7.938 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/1.18, allocations: 19.83 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/1.18, allocations: 8 kB / 1.215 GB, free: 6.547 MB / 0.9356 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.0001621/1.181, allocations: 133.8 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/1.181, allocations: 23.73 kB / 1.215 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/1.181, allocations: 21.88 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.181, allocations: 3.984 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.181, allocations: 0 / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.181, allocations: 4 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/1.181, allocations: 285.3 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.181, allocations: 0 / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.181, allocations: 23.97 kB / 1.215 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.181, allocations: 0 / 1.215 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.181, allocations: 4 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.181, allocations: 0 / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.181, allocations: 4 kB / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/1.182, allocations: 267.1 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/1.182, allocations: 92.89 kB / 1.215 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/1.182, allocations: 4 kB / 1.215 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/1.182, allocations: 11.98 kB / 1.215 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/1.182, allocations: 27.88 kB / 1.215 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/1.182, allocations: 4 kB / 1.215 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.965e-05/1.182, allocations: 123.2 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/1.182, allocations: 0 / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002674/1.182, allocations: 43.78 kB / 1.216 GB, free: 5.402 MB / 0.9356 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.0001373/1.182, allocations: 103.2 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004316/1.183, allocations: 158.1 kB / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.183, allocations: 0 / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/1.183, allocations: 75.89 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/1.183, allocations: 23.94 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/1.184, allocations: 349.3 kB / 1.216 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/1.184, allocations: 0.7319 MB / 1.217 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.996e-05/1.184, allocations: 17.55 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/1.185, allocations: 23.44 kB / 1.217 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.185, allocations: 0 / 1.217 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.004492/1.189, allocations: 1.527 MB / 1.219 GB, free: 2.402 MB / 0.9356 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 -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/jenkins/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