Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.001661/0.001661, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001897/0.001897, allocations: 198 kB / 22.17 MB, free: 5.211 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.483/1.483, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8663, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00277/0.869, allocations: 1.147 MB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.8704, allocations: 1.018 MB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.8705, allocations: 4 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.876e-05/0.8705, allocations: 23.67 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.8707, allocations: 39.72 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.8709, allocations: 83.86 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.8712, allocations: 224.2 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.8714, allocations: 96.12 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.8716, allocations: 99.56 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.8717, allocations: 99.53 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.8718, allocations: 24 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.459e-05/0.8718, allocations: 24 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.8719, allocations: 51.84 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.872, allocations: 103.4 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.8723, allocations: 313.3 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8723, allocations: 3.938 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8723, allocations: 0 / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.8723, allocations: 0 / 1.277 GB, free: 1.195 MB / 0.9669 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.0007902/0.8731, allocations: 0.4988 MB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.8732, allocations: 12.03 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.8732, allocations: 24.8 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.8738, allocations: 288.3 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.8738, allocations: 16.81 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.8738, allocations: 16.38 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.8742, allocations: 203.8 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8743, allocations: 192 / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.8743, allocations: 7.938 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.8743, allocations: 11.98 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.8747, allocations: 161.6 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.8756, allocations: 0.5802 MB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.876, allocations: 155.1 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.8762, allocations: 60.81 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.8762, allocations: 8.062 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.8762, allocations: 30.56 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.8762, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0006398/0.8768, allocations: 217.3 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.8769, allocations: 55.34 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.8771, allocations: 190.2 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.8771, allocations: 25.7 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.8772, allocations: 144.3 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.8772, allocations: 39.64 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.8773, allocations: 53.69 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8775, allocations: 330.8 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.8777, allocations: 59.95 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.8779, allocations: 94.98 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.8782, allocations: 147.1 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.8782, allocations: 4 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004546/0.8787, allocations: 195.4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8787, allocations: 7.984 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.8787, allocations: 4 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8787, allocations: 0 / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.8789, allocations: 31.92 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8789, allocations: 4 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.8791, allocations: 31.98 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.8791, allocations: 7.938 kB / 1.281 GB, free: 13.27 MB / 0.9825 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.0001815/0.8793, allocations: 145.8 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.8793, allocations: 15.84 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.8793, allocations: 21.88 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.8794, allocations: 4 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8794, allocations: 3.938 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.8794, allocations: 0 / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.8797, allocations: 281.4 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8797, allocations: 3.984 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.8798, allocations: 27.92 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8798, allocations: 3.984 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.8799, allocations: 0 / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8799, allocations: 4 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8799, allocations: 0 / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.8803, allocations: 267.2 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.8804, allocations: 89.02 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.8804, allocations: 4 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.8805, allocations: 7.984 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.8806, allocations: 23.97 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.8806, allocations: 4 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.8807, allocations: 124.2 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8807, allocations: 4 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003047/0.881, allocations: 43.78 kB / 1.282 GB, free: 12.12 MB / 0.9825 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.0001352/0.8811, allocations: 116.7 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.8816, allocations: 142.1 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8816, allocations: 4 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.8818, allocations: 71.89 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.8821, allocations: 19.94 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.8828, allocations: 360.6 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.8831, allocations: 0.7319 MB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.961e-05/0.8832, allocations: 21.55 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.8833, allocations: 23.42 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.8833, allocations: 0 / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.00492/0.8882, allocations: 1.528 MB / 1.285 GB, free: 9.117 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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: 8.870838453993201]