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.001042/0.001042, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01014/0.01014, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.914/2.914, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.0005478, allocations: 19.75 kB / 0.9028 GB, free: 36.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4284, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001759/0.4302, allocations: 1.11 MB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.4317, allocations: 1.077 MB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.4318, allocations: 4 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.219e-05/0.4319, allocations: 23.78 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.4321, allocations: 19.8 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.4323, allocations: 103.9 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.4326, allocations: 316.7 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.433, allocations: 202 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.4332, allocations: 91.44 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.4333, allocations: 103.3 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4334, allocations: 12 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.35e-05/0.4334, allocations: 8 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.4335, allocations: 43.77 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.4336, allocations: 136.9 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.434, allocations: 430.6 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.434, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.063e-06/0.434, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.434, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.8106 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.0007938/0.4348, allocations: 0.5353 MB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4349, allocations: 11.97 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.435, allocations: 36.5 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.4355, allocations: 341.3 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.4356, allocations: 29.38 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.4356, allocations: 28.38 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.4363, allocations: 299.1 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4363, allocations: 192 / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.4364, allocations: 19.94 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4364, allocations: 8 kB / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.437, allocations: 243.9 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.4382, allocations: 0.8367 MB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.4387, allocations: 247.5 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.439, allocations: 130 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.439, allocations: 4.234 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4391, allocations: 30.8 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.313e-06/0.4391, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007809/0.4398, allocations: 335.3 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.4399, allocations: 55.34 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.4401, allocations: 215.6 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4402, allocations: 29.7 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4403, allocations: 184.1 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.4403, allocations: 74.91 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.4404, allocations: 41.7 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4405, allocations: 330.8 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.4407, allocations: 88.52 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.441, allocations: 147.9 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.4415, allocations: 234.7 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4415, allocations: 0 / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005697/0.4421, allocations: 290.1 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4421, allocations: 11.94 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4421, allocations: 0 / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4422, allocations: 11.94 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.4424, allocations: 64.06 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4424, allocations: 4 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.4426, allocations: 39.67 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.4426, allocations: 8 kB / 1.067 GB, free: 12.59 MB / 0.8262 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.0002064/0.4428, allocations: 155.2 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.4429, allocations: 19.81 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005875/0.4435, allocations: 260.1 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4435, allocations: 11.92 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4435, allocations: 0 / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4435, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.4439, allocations: 357.2 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4439, allocations: 0 / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.4441, allocations: 47.91 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4442, allocations: 0 / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4442, allocations: 7.984 kB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.4442, allocations: 7.938 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4442, allocations: 0 / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.4447, allocations: 339.2 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.4448, allocations: 96.77 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.4448, allocations: 11.98 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.445, allocations: 15.94 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.4451, allocations: 27.95 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4451, allocations: 8 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001117/0.4452, allocations: 133.5 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4452, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003151/0.4455, allocations: 59.69 kB / 1.069 GB, free: 10.95 MB / 0.8262 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.0001588/0.4457, allocations: 117.6 kB / 1.069 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005702/0.4463, allocations: 236.9 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4463, allocations: 0 / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.4465, allocations: 119.9 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4469, allocations: 22.84 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4479, allocations: 0.6084 MB / 1.07 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4483, allocations: 0.7713 MB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.4485, allocations: 34.28 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.4485, allocations: 19.44 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/0.4485, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.005324/0.4539, allocations: 1.694 MB / 1.072 GB, free: 7.328 MB / 0.8262 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