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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00121/0.00121, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001254/0.001254, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 59.53 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4, allocations: 153 MB / 1.027 GB, free: 1.988 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002975/0.403, allocations: 1.448 MB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.4044, allocations: 1.096 MB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.4046, allocations: 4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.599e-05/0.4047, allocations: 35.53 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.4048, allocations: 39.53 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.4051, allocations: 119.9 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.4055, allocations: 344.6 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.4058, allocations: 214 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.4061, allocations: 139.4 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.4062, allocations: 155.2 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.4063, allocations: 40 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.545e-05/0.4064, allocations: 40 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.4064, allocations: 75.77 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.4066, allocations: 167.1 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.407, allocations: 478.2 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.407, allocations: 3.984 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.407, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.407, allocations: 0 / 1.031 GB, free: 13.61 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.0008846/0.4079, allocations: 0.5852 MB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.408, allocations: 12.03 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.408, allocations: 36.47 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.4086, allocations: 326 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.4086, allocations: 25.38 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4087, allocations: 32.38 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.4092, allocations: 299.1 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4092, allocations: 192 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.4093, allocations: 15.94 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4093, allocations: 8 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.4098, allocations: 235.8 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.4109, allocations: 0.8172 MB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.4114, allocations: 246.2 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.4117, allocations: 114 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.4117, allocations: 4.234 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4117, allocations: 38.8 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.4117, allocations: 0 / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0006953/0.4124, allocations: 316.7 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4125, allocations: 59.34 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.4127, allocations: 211.5 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4127, allocations: 33.7 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4128, allocations: 180.1 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/0.4129, allocations: 82.84 kB / 1.035 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.413, allocations: 65.97 kB / 1.035 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4131, allocations: 330.8 kB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.4133, allocations: 80.52 kB / 1.035 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.4136, allocations: 147.9 kB / 1.035 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.414, allocations: 214.7 kB / 1.035 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.414, allocations: 0 / 1.035 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005079/0.4145, allocations: 277.1 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4145, allocations: 11.12 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4145, allocations: 0 / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.4146, allocations: 7.938 kB / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4148, allocations: 55.91 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4148, allocations: 7.984 kB / 1.036 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.415, allocations: 24.06 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.415, allocations: 11.98 kB / 1.036 GB, free: 8.504 MB / 0.8106 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.0001943/0.4152, allocations: 153.8 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.4152, allocations: 19.72 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.4158, allocations: 256.5 kB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4158, allocations: 7.938 kB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4158, allocations: 4 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4158, allocations: 7.922 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.4162, allocations: 353.3 kB / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4162, allocations: 0 / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4164, allocations: 39.97 kB / 1.037 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4164, allocations: 0 / 1.037 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4164, allocations: 4 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.4164, allocations: 7.938 kB / 1.037 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4164, allocations: 7.938 kB / 1.037 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.4169, allocations: 327.2 kB / 1.037 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.4169, allocations: 96.77 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.417, allocations: 8 kB / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4171, allocations: 11.92 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.4172, allocations: 31.97 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4172, allocations: 4 kB / 1.037 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001058/0.4173, allocations: 145.5 kB / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4173, allocations: 0 / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002873/0.4176, allocations: 63.69 kB / 1.037 GB, free: 6.891 MB / 0.8106 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.0001467/0.4178, allocations: 108.7 kB / 1.037 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.4183, allocations: 228.2 kB / 1.038 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4183, allocations: 0 / 1.038 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.4185, allocations: 116.3 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.4188, allocations: 20 kB / 1.038 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.4197, allocations: 486.9 kB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.42, allocations: 0.7636 MB / 1.039 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.4201, allocations: 30.28 kB / 1.039 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.4202, allocations: 23.44 kB / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.4202, allocations: 4 kB / 1.039 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of Templates: time 0.005165/0.4254, allocations: 1.881 MB / 1.041 GB, free: 3.234 MB / 0.8106 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 -s cvode -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/jenkins1/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