Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001353/0.001353, allocations: 108.3 kB / 16.41 MB, free: 6.406 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.001305/0.001305, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002844/1.014, allocations: 1.439 MB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001377/1.016, allocations: 1.089 MB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/1.016, allocations: 3.969 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.453e-05/1.016, allocations: 36.16 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/1.016, allocations: 41.05 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/1.016, allocations: 126 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/1.017, allocations: 329.6 kB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/1.017, allocations: 205.3 kB / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/1.017, allocations: 140.6 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/1.017, allocations: 145.2 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/1.017, allocations: 41.41 kB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/1.018, allocations: 38 kB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/1.018, allocations: 74.28 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/1.018, allocations: 160 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/1.018, allocations: 476.3 kB / 1.093 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.018, allocations: 0.5938 kB / 1.093 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/1.018, allocations: 0 / 1.093 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.018, allocations: 0.75 kB / 1.093 GB, free: 2.996 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007874/1.019, allocations: 0.576 MB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.019, allocations: 8.688 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/1.019, allocations: 38.64 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/1.02, allocations: 331 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/1.02, allocations: 26.81 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/1.02, allocations: 29.22 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/1.02, allocations: 289 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.02, allocations: 0.9375 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/1.02, allocations: 14.62 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/1.021, allocations: 8.125 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/1.021, allocations: 226.9 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/1.022, allocations: 0.8092 MB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/1.023, allocations: 221.1 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/1.023, allocations: 115.7 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/1.023, allocations: 14.39 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/1.023, allocations: 41.34 kB / 1.096 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/1.023, allocations: 0 / 1.096 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0008756/1.024, allocations: 300.6 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.024, allocations: 54.56 kB / 1.096 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/1.025, allocations: 204.7 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.025, allocations: 34.36 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/1.025, allocations: 175.6 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/1.025, allocations: 79.58 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.025, allocations: 66.69 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.025, allocations: 329.8 kB / 1.097 GB, free: 320 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.025, allocations: 83.17 kB / 1.097 GB, free: 292 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/1.026, allocations: 138.6 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/1.026, allocations: 213.1 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.026, allocations: 0.8125 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005841/1.027, allocations: 268.4 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.027, allocations: 5.375 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.027, allocations: 6.156 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.027, allocations: 2.875 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.027, allocations: 56.14 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.027, allocations: 7.938 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/1.027, allocations: 33.42 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/1.027, allocations: 16.89 kB / 1.097 GB, free: 15.91 MB / 0.8731 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.0001619/1.027, allocations: 160.2 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/1.027, allocations: 17.31 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/1.028, allocations: 250.7 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.028, allocations: 2.75 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.028, allocations: 1.797 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.028, allocations: 1.453 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/1.028, allocations: 343.3 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.028, allocations: 1.125 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/1.029, allocations: 40.52 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.029, allocations: 0.75 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/1.029, allocations: 11.16 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.029, allocations: 1.094 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.029, allocations: 4.562 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/1.029, allocations: 329.2 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/1.029, allocations: 99.91 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/1.029, allocations: 13.88 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/1.03, allocations: 12.72 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/1.03, allocations: 30.81 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/1.03, allocations: 6.469 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001159/1.03, allocations: 139.6 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.03, allocations: 0.5312 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003319/1.03, allocations: 61.53 kB / 1.099 GB, free: 14.9 MB / 0.8731 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.0001475/1.03, allocations: 108.7 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000566/1.031, allocations: 215.3 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.031, allocations: 0 / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/1.031, allocations: 113.1 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/1.031, allocations: 22.88 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009383/1.032, allocations: 0.4939 MB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/1.033, allocations: 0.7669 MB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/1.033, allocations: 31.77 kB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/1.033, allocations: 0 / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.007729/1.041, allocations: 3.018 MB / 1.104 GB, free: 13.31 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches