Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009184/0.009184, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001876/0.001876, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3806, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002523/0.3832, allocations: 1.015 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3846, allocations: 0.983 MB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3848, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.689e-05/0.3849, allocations: 11.81 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.3851, allocations: 31.72 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.3853, allocations: 55.94 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3856, allocations: 168 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.3858, allocations: 88.19 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.386, allocations: 67.72 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3862, allocations: 75.61 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.3862, allocations: 16 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.3863, allocations: 16 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.3863, allocations: 35.91 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.3864, allocations: 75.59 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3867, allocations: 207 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.3868, allocations: 12 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3868, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3868, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007969/0.3876, allocations: 447 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3876, allocations: 12.03 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.3877, allocations: 16.84 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.3882, allocations: 258.3 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.3882, allocations: 12.66 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3882, allocations: 12.38 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.3886, allocations: 140.4 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3886, allocations: 4.188 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.3887, allocations: 11.88 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3887, allocations: 4 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.389, allocations: 124.6 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.3898, allocations: 476.1 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.3901, allocations: 106.6 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3902, allocations: 56.83 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.3903, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3903, allocations: 30.56 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.3903, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005694/0.3909, allocations: 177.4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3909, allocations: 55.41 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3911, allocations: 164.9 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3911, allocations: 25.7 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.3912, allocations: 120.3 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3912, allocations: 31.73 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.3913, allocations: 33.7 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3914, allocations: 330.8 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3916, allocations: 43.97 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.3917, allocations: 67.39 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.392, allocations: 115.2 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.392, allocations: 3.938 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003452/0.3924, allocations: 145.5 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3924, allocations: 8 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3924, allocations: 0 / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3924, allocations: 4.094 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3926, allocations: 27.92 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3926, allocations: 0 / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.3927, allocations: 15.92 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3928, allocations: 8 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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.0001157/0.3929, allocations: 125.8 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3929, allocations: 19.89 kB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.393, allocations: 16.72 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.393, allocations: 4 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.393, allocations: 0 / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.393, allocations: 0 / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3932, allocations: 241.4 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3933, allocations: 4 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3934, allocations: 19.92 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3934, allocations: 4 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3934, allocations: 3.984 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3934, allocations: 0 / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3934, allocations: 4 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.3938, allocations: 231.4 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.3939, allocations: 81.06 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3939, allocations: 4 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.394, allocations: 11.98 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.3941, allocations: 19.98 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.3941, allocations: 3.938 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.3942, allocations: 120.8 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3942, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002953/0.3945, allocations: 27.89 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001368/0.3946, allocations: 107.2 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.395, allocations: 108.5 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.395, allocations: 0 / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3952, allocations: 64.05 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3955, allocations: 18.02 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.3961, allocations: 272.6 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3964, allocations: 0.7157 MB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.597e-05/0.3965, allocations: 12.66 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.3966, allocations: 19.42 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of SimCode: time 1.833e-06/0.3966, allocations: 0 / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.004326/0.4009, allocations: 1.229 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches