Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006379/0.006379, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001338/0.001337, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.437/1.437, 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 9.1.3-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.156, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002567/1.159, allocations: 1.114 MB / 1.089 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001403/1.16, allocations: 1.013 MB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/1.16, allocations: 2.469 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.911e-05/1.16, allocations: 20.16 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/1.161, allocations: 24.39 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/1.161, allocations: 82.67 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/1.161, allocations: 218.2 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/1.161, allocations: 117.1 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/1.162, allocations: 89.44 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/1.162, allocations: 99.55 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/1.162, allocations: 22.44 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/1.162, allocations: 22.53 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/1.162, allocations: 50.58 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/1.162, allocations: 98.41 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004164/1.162, allocations: 288.8 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.162, allocations: 0 / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.116e-06/1.163, allocations: 4.688 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.163, allocations: 0 / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007088/1.163, allocations: 488.4 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.163, allocations: 10.39 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/1.163, allocations: 27.06 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/1.164, allocations: 272.1 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/1.164, allocations: 21.41 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/1.164, allocations: 21.83 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/1.164, allocations: 191.2 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.164, allocations: 0 / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/1.164, allocations: 5.656 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.164, allocations: 5.281 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/1.165, allocations: 150.3 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/1.166, allocations: 0.5656 MB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/1.166, allocations: 127.7 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.166, allocations: 64.41 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.166, allocations: 5.469 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/1.166, allocations: 36.12 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/1.166, allocations: 0 / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006498/1.167, allocations: 200.7 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.167, allocations: 61.25 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/1.167, allocations: 186.3 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/1.167, allocations: 30.61 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/1.167, allocations: 132.5 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/1.167, allocations: 44.06 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/1.167, allocations: 50.42 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/1.167, allocations: 327 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/1.168, allocations: 53.86 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/1.168, allocations: 93.56 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/1.168, allocations: 134.4 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.168, allocations: 1.469 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004453/1.169, allocations: 191.1 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.169, allocations: 5.5 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.169, allocations: 5.5 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.169, allocations: 3.047 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/1.169, allocations: 33.23 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.169, allocations: 6.422 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.169, allocations: 22.97 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/1.169, allocations: 6.031 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001077/1.169, allocations: 147.8 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/1.169, allocations: 14.78 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/1.169, allocations: 22.34 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.169, allocations: 2.172 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.169, allocations: 4.719 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.169, allocations: 0.6094 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/1.17, allocations: 260.5 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.17, allocations: 8 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/1.17, allocations: 25.77 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.17, allocations: 0.6875 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.17, allocations: 6.109 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.17, allocations: 5.344 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.17, allocations: 0 / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/1.17, allocations: 254.6 kB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/1.17, allocations: 94.25 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/1.17, allocations: 5.484 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/1.17, allocations: 12.47 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/1.17, allocations: 18.33 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/1.17, allocations: 3.844 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.58e-05/1.171, allocations: 122.6 kB / 1.096 GB, free: 120 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.171, allocations: 0 / 1.096 GB, free: 120 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002842/1.171, allocations: 39.84 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001418/1.171, allocations: 113.9 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000514/1.172, allocations: 136.2 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.172, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/1.172, allocations: 76.81 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/1.172, allocations: 29.22 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/1.173, allocations: 317.6 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/1.173, allocations: 0.7411 MB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001083/1.173, allocations: 20.39 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/1.173, allocations: 20.28 kB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/1.173, allocations: 0 / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of Templates: time 0.005199/1.179, allocations: 1.437 MB / 1.098 GB, free: 14.89 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches