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.001662/0.001662, allocations: 100.1 kB / 15.88 MB, free: 12 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.002043/0.002043, allocations: 199 kB / 16.79 MB, free: 6.809 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.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.887/2.887, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.91 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3715, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003353/0.3749, allocations: 1.472 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3767, allocations: 1.092 MB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.3771, allocations: 4 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.3772, allocations: 19.78 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.3776, allocations: 15.81 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.378, allocations: 111.9 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.3784, allocations: 316.6 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.3788, allocations: 202 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.3791, allocations: 119.5 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3793, allocations: 135.2 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.3793, allocations: 24 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.3794, allocations: 20 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.3794, allocations: 63.75 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.3796, allocations: 143.1 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3799, allocations: 371.2 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3799, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3799, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3799, allocations: 0 / 1.057 GB, free: 4.18 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.000992/0.3809, allocations: 0.5891 MB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.381, allocations: 19.91 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.3811, allocations: 36.47 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3817, allocations: 321.4 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.3817, allocations: 29.38 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.3818, allocations: 32.38 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.3824, allocations: 287.1 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3824, allocations: 8.188 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.3825, allocations: 23.86 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3825, allocations: 8 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.383, allocations: 231.9 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.3842, allocations: 0.8328 MB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.3847, allocations: 247.7 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.3849, allocations: 117.3 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.385, allocations: 4.234 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.385, allocations: 38.8 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.385, allocations: 0 / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0007493/0.3858, allocations: 315.3 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.3858, allocations: 51.41 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.386, allocations: 211.6 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3861, allocations: 33.7 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3862, allocations: 184.1 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.3863, allocations: 78.89 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.3864, allocations: 69.97 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3865, allocations: 326.8 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3867, allocations: 80.5 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.387, allocations: 139.9 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.3874, allocations: 219.6 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3874, allocations: 0 / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005292/0.3879, allocations: 281.1 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.388, allocations: 4 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.388, allocations: 4 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.388, allocations: 7.938 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.3883, allocations: 51.91 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3883, allocations: 4 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3884, allocations: 35.98 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3885, allocations: 11.94 kB / 1.062 GB, free: 15.05 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.0001694/0.3887, allocations: 154.3 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.3887, allocations: 23.72 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.3893, allocations: 252 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3893, allocations: 7.938 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3893, allocations: 0 / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3893, allocations: 0 / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.3897, allocations: 353.3 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3897, allocations: 4 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.3899, allocations: 39.97 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3899, allocations: 0 / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.39, allocations: 8 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.39, allocations: 7.938 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.39, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.3905, allocations: 327.6 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.3905, allocations: 100.8 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3906, allocations: 4 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3907, allocations: 23.92 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.3908, allocations: 23.97 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3908, allocations: 8 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.3909, allocations: 145.4 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 0 / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000312/0.3913, allocations: 59.69 kB / 1.063 GB, free: 13.43 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.0001576/0.3914, allocations: 111.8 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.3919, allocations: 224 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.392, allocations: 4 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.3922, allocations: 111.9 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3925, allocations: 20.44 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.3935, allocations: 0.627 MB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3939, allocations: 0.7636 MB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.394, allocations: 35.42 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.394, allocations: 0 / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.005481/0.3995, allocations: 3.023 MB / 1.068 GB, free: 8.477 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/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