Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.249/3.249, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] 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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002832/0.002832, allocations: 63.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.101, allocations: 163.8 MB / 1.263 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002545/1.103, allocations: 1.127 MB / 1.264 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001242/1.105, allocations: 1.02 MB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/1.105, allocations: 3.219 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.028e-05/1.105, allocations: 28.08 kB / 1.265 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/1.105, allocations: 24.73 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/1.105, allocations: 88.58 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/1.105, allocations: 222.3 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/1.106, allocations: 129.3 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/1.106, allocations: 94.64 kB / 1.265 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/1.106, allocations: 104.6 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/1.106, allocations: 24.56 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/1.106, allocations: 27.72 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/1.106, allocations: 50.92 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/1.106, allocations: 99.33 kB / 1.266 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004087/1.107, allocations: 310.7 kB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.107, allocations: 0.75 kB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.484e-06/1.107, allocations: 0 / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.802e-06/1.107, allocations: 0.7812 kB / 1.266 GB, free: 6.051 MB / 0.9981 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.0007046/1.107, allocations: 0.4901 MB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.107, allocations: 10.45 kB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/1.108, allocations: 28.48 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/1.108, allocations: 291.1 kB / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/1.108, allocations: 18.72 kB / 1.267 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/1.108, allocations: 21.95 kB / 1.267 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/1.109, allocations: 194.2 kB / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.109, allocations: 0.9375 kB / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/1.109, allocations: 18.06 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.109, allocations: 5.75 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/1.109, allocations: 160.7 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/1.11, allocations: 0.5829 MB / 1.268 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/1.11, allocations: 162.7 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/1.11, allocations: 67.17 kB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/1.11, allocations: 2.344 kB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/1.11, allocations: 39.94 kB / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/1.11, allocations: 0 / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0006873/1.111, allocations: 216.2 kB / 1.268 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/1.111, allocations: 57.61 kB / 1.268 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/1.111, allocations: 186.2 kB / 1.268 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/1.111, allocations: 26.52 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/1.112, allocations: 142 kB / 1.268 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/1.112, allocations: 44.89 kB / 1.269 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/1.112, allocations: 60.42 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/1.112, allocations: 330.8 kB / 1.269 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.112, allocations: 52.8 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/1.112, allocations: 107.3 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/1.112, allocations: 140.9 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.112, allocations: 4 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004495/1.113, allocations: 199 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.113, allocations: 5.469 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.113, allocations: 2.031 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.113, allocations: 2.625 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/1.113, allocations: 38.12 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.113, allocations: 2.953 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/1.113, allocations: 23.02 kB / 1.269 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/1.113, allocations: 6.672 kB / 1.269 GB, free: 3.461 MB / 0.9981 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.000164/1.113, allocations: 143.6 kB / 1.27 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/1.114, allocations: 18.84 kB / 1.27 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/1.114, allocations: 18.75 kB / 1.27 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.114, allocations: 5.875 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.114, allocations: 1.062 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.114, allocations: 1.312 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/1.114, allocations: 281.3 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.114, allocations: 0 / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/1.114, allocations: 23.08 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/1.114, allocations: 1.062 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/1.114, allocations: 5.797 kB / 1.27 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.114, allocations: 0.9375 kB / 1.27 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.114, allocations: 0 / 1.27 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/1.115, allocations: 271.7 kB / 1.27 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/1.115, allocations: 90.2 kB / 1.27 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/1.115, allocations: 1.781 kB / 1.27 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.115, allocations: 15.73 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/1.115, allocations: 19.81 kB / 1.27 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.115, allocations: 11.86 kB / 1.27 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.35e-05/1.115, allocations: 118.2 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.115, allocations: 0.5625 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002763/1.115, allocations: 42.69 kB / 1.27 GB, free: 2.637 MB / 0.9981 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.0001132/1.115, allocations: 110.8 kB / 1.271 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004327/1.116, allocations: 152.4 kB / 1.271 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.116, allocations: 0 / 1.271 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/1.116, allocations: 81.09 kB / 1.271 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/1.116, allocations: 24.3 kB / 1.271 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/1.117, allocations: 382.6 kB / 1.271 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/1.117, allocations: 0.7301 MB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/1.117, allocations: 25.66 kB / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.117, allocations: 0 / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.004628/1.122, allocations: 2.185 MB / 1.274 GB, free: 1.242 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.114630392054096]