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.001931/0.001931, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.00206/0.00206, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.414/1.414, allocations: 222.9 MB / 241 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.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9474, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002852/0.9503, allocations: 1.125 MB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.9516, allocations: 1.007 MB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.9517, allocations: 3.188 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.9517, allocations: 24.25 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.9519, allocations: 35.33 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.9521, allocations: 77.84 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.9523, allocations: 217.5 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.9525, allocations: 117.5 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.9527, allocations: 93.59 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.9528, allocations: 99.16 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.9529, allocations: 22.47 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.9529, allocations: 22.25 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.953, allocations: 51.55 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.9531, allocations: 93.77 kB / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.9534, allocations: 292.6 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9534, allocations: 1.094 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9534, allocations: 0 / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.9535, allocations: 0 / 1.092 GB, free: 3.41 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.000777/0.9542, allocations: 488.8 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.9543, allocations: 9.344 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.9544, allocations: 23.44 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.9549, allocations: 276 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.9549, allocations: 13.75 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.955, allocations: 24.89 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.9554, allocations: 190.9 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9555, allocations: 0.6875 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.9555, allocations: 9.625 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.9555, allocations: 5.938 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.956, allocations: 145.9 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.9567, allocations: 0.5689 MB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.957, allocations: 127.5 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.9572, allocations: 60.78 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.9572, allocations: 10.22 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.9573, allocations: 31.84 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.9573, allocations: 0 / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005953/0.9579, allocations: 205.3 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.9579, allocations: 53.09 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.9581, allocations: 194.9 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.9581, allocations: 26.89 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.9581, allocations: 132.2 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.9582, allocations: 48.67 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.9583, allocations: 48.98 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.9583, allocations: 323.8 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.9585, allocations: 49.58 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.9587, allocations: 99.23 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.9591, allocations: 134 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9591, allocations: 0.5625 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004184/0.9595, allocations: 184.5 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9595, allocations: 10.58 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9595, allocations: 1.688 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9595, allocations: 6.344 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.9597, allocations: 37.11 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.9598, allocations: 3.062 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.9599, allocations: 23.77 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.9599, allocations: 9.484 kB / 1.095 GB, free: 0.9023 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 9.971e-05/0.96, allocations: 143.3 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.9601, allocations: 13.88 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.9601, allocations: 23.38 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9601, allocations: 0.5625 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9601, allocations: 0.8125 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.9602, allocations: 93.7 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.9602, allocations: 1.453 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.9603, allocations: 8.297 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.9604, allocations: 27.09 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000457/0.9609, allocations: 236.5 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004062/0.9613, allocations: 324.4 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001877/0.9615, allocations: 74.3 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.666e-05/0.9616, allocations: 126.1 kB / 1.096 GB, free: 128 kB / 0.8575 GB Notification: Performance of Backend: time 3.2e-07/0.9616, allocations: 0 / 1.096 GB, free: 128 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.9621, allocations: 172.1 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of SimCode: time 0.0008469/0.963, allocations: 0.7477 MB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.005035/0.968, allocations: 1.609 MB / 1.099 GB, free: 15.22 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/jenkins1/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