Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001204/0.001204, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 185.3 kB / 16.92 MB, free: 6.766 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.553/1.553, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 8 kB / 0.8735 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8442/0.8446, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001929/0.8466, allocations: 1.107 MB / 1.025 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.8483, allocations: 1.065 MB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.8486, allocations: 8 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.67e-05/0.8487, allocations: 23.78 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.8489, allocations: 15.8 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.8492, allocations: 107.8 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.8496, allocations: 304.7 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.85, allocations: 201.9 kB / 1.027 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.8503, allocations: 87.45 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.8505, allocations: 103.3 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.979e-05/0.8505, allocations: 8 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.8505, allocations: 8 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.8506, allocations: 39.78 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.8507, allocations: 140.8 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.8511, allocations: 361 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8511, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8511, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8511, allocations: 4 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009256/0.8521, allocations: 0.5225 MB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.8521, allocations: 11.97 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.323e-05/0.8522, allocations: 36.56 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.8528, allocations: 341 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.8529, allocations: 29.03 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.853, allocations: 32.38 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.8536, allocations: 290.6 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8536, allocations: 192 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.8536, allocations: 11.94 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.8536, allocations: 8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.8542, allocations: 250.5 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.8555, allocations: 0.8114 MB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.856, allocations: 238.7 kB / 1.03 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.8563, allocations: 124.7 kB / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.8563, allocations: 4 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.8564, allocations: 34.56 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.355e-06/0.8564, allocations: 4 kB / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0008095/0.8572, allocations: 319.2 kB / 1.03 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.8573, allocations: 59.34 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.8575, allocations: 200.7 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.8575, allocations: 33.7 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.8576, allocations: 180.1 kB / 1.031 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.8577, allocations: 74.94 kB / 1.031 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.8578, allocations: 41.7 kB / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8579, allocations: 330.8 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.8581, allocations: 92.45 kB / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.8584, allocations: 147.9 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.8589, allocations: 225.9 kB / 1.032 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.8589, allocations: 0 / 1.032 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000601/0.8595, allocations: 287.1 kB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8595, allocations: 4 kB / 1.032 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8595, allocations: 4.219 kB / 1.032 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.8595, allocations: 4 kB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.8598, allocations: 63.83 kB / 1.032 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.8598, allocations: 7.938 kB / 1.032 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.86, allocations: 31.73 kB / 1.032 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.86, allocations: 12 kB / 1.032 GB, free: 7.188 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.0001792/0.8602, allocations: 154.3 kB / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.8603, allocations: 19.81 kB / 1.032 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.8609, allocations: 259.5 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8609, allocations: 7.938 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.8609, allocations: 0 / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8609, allocations: 3.938 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.8613, allocations: 345.4 kB / 1.033 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.8613, allocations: 0 / 1.033 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.8615, allocations: 39.92 kB / 1.033 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.8615, allocations: 7.984 kB / 1.033 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.8616, allocations: 8 kB / 1.033 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.8616, allocations: 7.938 kB / 1.033 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8616, allocations: 0 / 1.033 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.8621, allocations: 337.8 kB / 1.033 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.8622, allocations: 104.7 kB / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.8622, allocations: 4 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.8624, allocations: 23.81 kB / 1.033 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.8625, allocations: 31.95 kB / 1.033 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.8625, allocations: 4 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001111/0.8626, allocations: 140.5 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8626, allocations: 4 kB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003179/0.8629, allocations: 59.69 kB / 1.033 GB, free: 5.562 MB / 0.7794 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.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001461/0.8631, allocations: 107.2 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.8636, allocations: 229.3 kB / 1.034 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8637, allocations: 0 / 1.034 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.8639, allocations: 115.8 kB / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.8643, allocations: 30.92 kB / 1.034 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009785/0.8653, allocations: 0.6162 MB / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.8656, allocations: 0.7636 MB / 1.035 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.8657, allocations: 27.42 kB / 1.035 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of SimCode: time 1.864e-06/0.8657, allocations: 0 / 1.035 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of Templates: time 0.00584/0.8716, allocations: 2.943 MB / 1.038 GB, free: 0.6914 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches