Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001351/0.001351, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001403/0.001403, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.48/1.48, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.039/3.039, 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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003004/1.042, allocations: 1.14 MB / 1.264 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0014/1.044, allocations: 1.017 MB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/1.044, allocations: 3.312 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.922e-05/1.044, allocations: 24.7 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/1.044, allocations: 24.44 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/1.044, allocations: 91.72 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/1.045, allocations: 227.6 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/1.045, allocations: 128.1 kB / 1.265 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/1.045, allocations: 94.53 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/1.045, allocations: 100.7 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/1.045, allocations: 24.19 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/1.045, allocations: 24.25 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/1.045, allocations: 55.44 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/1.046, allocations: 99.47 kB / 1.266 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/1.046, allocations: 314.3 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.046, allocations: 0.7812 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/1.046, allocations: 0 / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.046, allocations: 0 / 1.266 GB, free: 5.84 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.0007076/1.047, allocations: 0.4983 MB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.047, allocations: 10.14 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/1.047, allocations: 24.36 kB / 1.266 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/1.047, allocations: 276.2 kB / 1.267 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.047, allocations: 17.91 kB / 1.267 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/1.047, allocations: 21.75 kB / 1.267 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/1.048, allocations: 202.6 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.048, allocations: 1.625 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/1.048, allocations: 13.5 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/1.048, allocations: 5.031 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/1.048, allocations: 157 kB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/1.049, allocations: 0.5875 MB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/1.05, allocations: 162.6 kB / 1.268 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/1.05, allocations: 71.45 kB / 1.268 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/1.05, allocations: 1.875 kB / 1.268 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/1.05, allocations: 36.16 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/1.05, allocations: 0 / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0006423/1.051, allocations: 211.5 kB / 1.268 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/1.051, allocations: 62.19 kB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/1.051, allocations: 185.9 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/1.051, allocations: 30.55 kB / 1.268 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/1.051, allocations: 141.2 kB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/1.051, allocations: 45.17 kB / 1.269 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/1.051, allocations: 56.7 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/1.051, allocations: 327.6 kB / 1.269 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/1.051, allocations: 55.64 kB / 1.269 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/1.052, allocations: 106.3 kB / 1.269 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/1.052, allocations: 140.6 kB / 1.269 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.052, allocations: 0.75 kB / 1.269 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004493/1.052, allocations: 198.4 kB / 1.269 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.052, allocations: 9.344 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.052, allocations: 2.953 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.052, allocations: 1.844 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/1.053, allocations: 33.91 kB / 1.269 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.053, allocations: 3.688 kB / 1.269 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.053, allocations: 26.23 kB / 1.269 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/1.053, allocations: 6.672 kB / 1.269 GB, free: 3.258 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.0001622/1.053, allocations: 147.5 kB / 1.27 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/1.053, allocations: 19.03 kB / 1.27 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/1.053, allocations: 22.73 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.053, allocations: 1.906 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.053, allocations: 1.531 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.053, allocations: 0.6562 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/1.053, allocations: 278 kB / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.053, allocations: 0 / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/1.053, allocations: 29.41 kB / 1.27 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.054, allocations: 5.922 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.054, allocations: 1.578 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.054, allocations: 1 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.054, allocations: 1.031 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/1.054, allocations: 262.8 kB / 1.27 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/1.054, allocations: 94.2 kB / 1.27 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/1.054, allocations: 9.406 kB / 1.27 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/1.054, allocations: 8.922 kB / 1.27 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/1.054, allocations: 23.11 kB / 1.27 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/1.054, allocations: 4.359 kB / 1.27 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.239e-05/1.054, allocations: 117.8 kB / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 0 / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002766/1.055, allocations: 37.73 kB / 1.27 GB, free: 2.438 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.0001215/1.055, allocations: 120.5 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004466/1.055, allocations: 143.7 kB / 1.271 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.055, allocations: 3.938 kB / 1.271 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/1.055, allocations: 78.22 kB / 1.271 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/1.056, allocations: 28 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/1.056, allocations: 377.7 kB / 1.271 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/1.057, allocations: 0.7344 MB / 1.272 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/1.057, allocations: 25.77 kB / 1.272 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/1.057, allocations: 0 / 1.272 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of Templates: time 0.004956/1.062, allocations: 2.179 MB / 1.274 GB, free: 1.047 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.051308076828718]