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.01231/0.01231, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.00228/0.002281, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.622/2.622, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.94 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3703, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002995/0.3734, allocations: 1.427 MB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.375, allocations: 1.092 MB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.3751, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.759e-05/0.3752, allocations: 35.48 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3754, allocations: 47.59 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.3758, allocations: 123.8 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.3761, allocations: 340.6 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.3765, allocations: 206 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.3768, allocations: 127.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.377, allocations: 159.2 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.377, allocations: 40 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.3771, allocations: 40 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.3772, allocations: 75.77 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3773, allocations: 155.1 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.3778, allocations: 478.2 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3779, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3779, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.3779, allocations: 0 / 1.092 GB, free: 13.18 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.0008718/0.3788, allocations: 0.5693 MB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3788, allocations: 8.031 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.3789, allocations: 44.47 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.3795, allocations: 333 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.3796, allocations: 25.03 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.3796, allocations: 28.38 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.3802, allocations: 294.1 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3802, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.3803, allocations: 20 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.3803, allocations: 11.98 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.3808, allocations: 222.5 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.382, allocations: 0.7958 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.3825, allocations: 226.7 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.3827, allocations: 116.7 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.3828, allocations: 8 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3828, allocations: 42.48 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.3828, allocations: 4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007777/0.3836, allocations: 305.8 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3837, allocations: 51.41 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3839, allocations: 203.7 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3839, allocations: 29.7 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3841, allocations: 184.1 kB / 1.096 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.3842, allocations: 82.91 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.3843, allocations: 61.97 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3844, allocations: 326.8 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.3846, allocations: 80.52 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3849, allocations: 143.9 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.3853, allocations: 219.1 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3853, allocations: 0 / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000497/0.3858, allocations: 277.1 kB / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3859, allocations: 5.406 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3859, allocations: 7.938 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3859, allocations: 0 / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.3861, allocations: 51.91 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3862, allocations: 4 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.3863, allocations: 35.67 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.3863, allocations: 12 kB / 1.097 GB, free: 8.156 MB / 0.8575 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.0001694/0.3865, allocations: 154.5 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3866, allocations: 15.81 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005546/0.3871, allocations: 255 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3871, allocations: 0 / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3871, allocations: 8 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3872, allocations: 3.984 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.3876, allocations: 341.3 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3876, allocations: 0 / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.3878, allocations: 43.91 kB / 1.098 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3878, allocations: 0 / 1.098 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3878, allocations: 7.938 kB / 1.098 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3878, allocations: 4 kB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3878, allocations: 3.938 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.3884, allocations: 331.6 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.3884, allocations: 100.8 kB / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3885, allocations: 3.938 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3886, allocations: 11.98 kB / 1.098 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3887, allocations: 35.84 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.3887, allocations: 4 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001239/0.3888, allocations: 145.5 kB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3889, allocations: 0 / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003023/0.3892, allocations: 63.69 kB / 1.098 GB, free: 6.566 MB / 0.8575 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.0001644/0.3893, allocations: 107.2 kB / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.3898, allocations: 219.5 kB / 1.099 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3898, allocations: 0 / 1.099 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.3901, allocations: 115.8 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3905, allocations: 25.42 kB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.3913, allocations: 466.1 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3917, allocations: 0.7672 MB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.3918, allocations: 34.28 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.3919, allocations: 27.42 kB / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3919, allocations: 0 / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Templates: time 0.005575/0.3975, allocations: 1.888 MB / 1.102 GB, free: 2.922 MB / 0.8575 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/jenkins/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