Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009366/0.009366, allocations: 105.9 kB / 15.73 MB, free: 6 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.00203/0.00203, allocations: 189 kB / 16.67 MB, free: 5.926 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.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.066, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002885/1.069, allocations: 1.436 MB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001412/1.07, allocations: 1.096 MB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/1.07, allocations: 4 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/1.07, allocations: 35.53 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/1.071, allocations: 51.53 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/1.071, allocations: 119.8 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/1.071, allocations: 344.6 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/1.072, allocations: 210 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/1.072, allocations: 139.4 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/1.072, allocations: 151.2 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/1.072, allocations: 36 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/1.072, allocations: 40 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/1.072, allocations: 83.7 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/1.072, allocations: 159.1 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000566/1.073, allocations: 482 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/1.073, allocations: 4 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/1.073, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.044e-06/1.073, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0008876/1.074, allocations: 0.5831 MB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.074, allocations: 8.031 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/1.074, allocations: 36.47 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006921/1.075, allocations: 333.3 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/1.075, allocations: 25.38 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/1.075, allocations: 36.38 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/1.076, allocations: 291.1 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/1.076, allocations: 192 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/1.076, allocations: 19.94 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/1.076, allocations: 12 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/1.076, allocations: 239.8 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/1.077, allocations: 0.8132 MB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/1.078, allocations: 253 kB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/1.078, allocations: 121.3 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/1.078, allocations: 4.234 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.078, allocations: 38.73 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/1.078, allocations: 0 / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0008018/1.079, allocations: 308.1 kB / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/1.079, allocations: 55.41 kB / 1.215 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/1.079, allocations: 211.6 kB / 1.215 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/1.08, allocations: 29.7 kB / 1.215 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/1.08, allocations: 184.1 kB / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/1.08, allocations: 74.91 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.08, allocations: 65.97 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.08, allocations: 330.8 kB / 1.216 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/1.08, allocations: 80.5 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/1.081, allocations: 143.9 kB / 1.216 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/1.081, allocations: 218.9 kB / 1.216 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/1.081, allocations: 4 kB / 1.216 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006246/1.082, allocations: 281 kB / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.082, allocations: 5.875 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.082, allocations: 4 kB / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.082, allocations: 3.938 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/1.082, allocations: 52.12 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.082, allocations: 8 kB / 1.217 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/1.082, allocations: 35.67 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/1.082, allocations: 12 kB / 1.217 GB, free: 4.113 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.000255/1.082, allocations: 153.8 kB / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/1.083, allocations: 23.81 kB / 1.217 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/1.083, allocations: 256.3 kB / 1.217 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.083, allocations: 3.938 kB / 1.217 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.083, allocations: 0 / 1.217 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.083, allocations: 4 kB / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/1.084, allocations: 349.3 kB / 1.217 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.084, allocations: 3.984 kB / 1.217 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/1.084, allocations: 35.92 kB / 1.218 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.084, allocations: 3.984 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.084, allocations: 19.92 kB / 1.218 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.084, allocations: 3.938 kB / 1.218 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.084, allocations: 0 / 1.218 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/1.084, allocations: 323.2 kB / 1.218 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/1.084, allocations: 104.8 kB / 1.218 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/1.084, allocations: 8 kB / 1.218 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.085, allocations: 15.94 kB / 1.218 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.085, allocations: 27.95 kB / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.085, allocations: 12 kB / 1.218 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001182/1.085, allocations: 133.5 kB / 1.218 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.085, allocations: 0 / 1.218 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003145/1.085, allocations: 63.69 kB / 1.218 GB, free: 2.504 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.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 (27): * Single equations (assignments): 27 * 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.000155/1.085, allocations: 115.2 kB / 1.218 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000495/1.086, allocations: 215.8 kB / 1.219 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.086, allocations: 0 / 1.219 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/1.086, allocations: 116.8 kB / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/1.086, allocations: 24.44 kB / 1.219 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/1.087, allocations: 482.5 kB / 1.219 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.088, allocations: 0.7713 MB / 1.22 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001283/1.088, allocations: 34.28 kB / 1.22 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/1.088, allocations: 23.44 kB / 1.22 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/1.088, allocations: 0 / 1.22 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of Templates: time 0.005666/1.093, allocations: 1.899 MB / 1.222 GB, free: 14.82 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches