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.007647/0.007647, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001336/0.001336, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.626/1.626, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.626/2.626, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.38 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002763/0.3701, allocations: 1.104 MB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.3716, allocations: 1.003 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3717, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.199e-05/0.3718, allocations: 23.67 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.3719, allocations: 35.67 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3722, allocations: 79.91 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3724, allocations: 220.2 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.3727, allocations: 124.2 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3729, allocations: 87.58 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3731, allocations: 99.53 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.3731, allocations: 24 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.753e-05/0.3731, allocations: 23.94 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.3732, allocations: 51.84 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.3733, allocations: 99.47 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.3737, allocations: 284.2 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3737, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3737, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3737, allocations: 0 / 1.091 GB, free: 14.23 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.0008046/0.3745, allocations: 0.4949 MB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3746, allocations: 12.03 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.3746, allocations: 20.8 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.3751, allocations: 276.4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3752, allocations: 20.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3752, allocations: 16.38 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.3756, allocations: 199.1 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3757, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.3757, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3757, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.3761, allocations: 153.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.377, allocations: 0.5649 MB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.3773, allocations: 126.6 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3775, allocations: 68.77 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3775, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3776, allocations: 34.55 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3776, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.000627/0.3782, allocations: 207.3 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3783, allocations: 55.41 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3785, allocations: 183.8 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3785, allocations: 29.7 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3786, allocations: 140.5 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.3787, allocations: 47.58 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.3788, allocations: 49.69 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3789, allocations: 330.8 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3791, allocations: 43.97 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3793, allocations: 98.47 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.3796, allocations: 139.9 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3796, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004224/0.38, allocations: 189.3 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3801, allocations: 8 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3801, allocations: 3.938 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3801, allocations: 4 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.3803, allocations: 31.91 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3803, allocations: 4 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3805, allocations: 28.03 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3805, allocations: 4 kB / 1.095 GB, free: 10.43 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.000139/0.3806, allocations: 142.3 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.3807, allocations: 15.91 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3807, allocations: 33.38 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3807, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3807, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3807, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.381, allocations: 265.5 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.381, allocations: 4 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.3812, allocations: 19.97 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3812, allocations: 4 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3812, allocations: 11.88 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.3812, allocations: 4 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3812, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.3817, allocations: 255.3 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.3818, allocations: 92.95 kB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3818, allocations: 3.938 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3819, allocations: 11.98 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.382, allocations: 19.98 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.382, allocations: 4 kB / 1.095 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.455e-05/0.3821, allocations: 123.2 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3821, allocations: 4 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002714/0.3824, allocations: 35.89 kB / 1.096 GB, free: 9.316 MB / 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.0002242/0.3826, allocations: 107.2 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.3831, allocations: 135.9 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3831, allocations: 4.312 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3833, allocations: 70.7 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3837, allocations: 23.92 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.3845, allocations: 324.8 kB / 1.096 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3848, allocations: 0.7319 MB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.665e-05/0.3849, allocations: 17.55 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.385, allocations: 19.44 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of SimCode: time 1.613e-06/0.385, allocations: 0 / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.004937/0.3899, allocations: 1.458 MB / 1.098 GB, free: 6.426 MB / 0.8575 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