Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001244/0.001252, allocations: 108 kB / 15.6 MB, free: 132 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.001336/0.001336, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 73.53 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4199, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002588/0.4225, allocations: 1.013 MB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.4239, allocations: 0.983 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.424, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.901e-05/0.424, allocations: 19.73 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.4242, allocations: 19.75 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.4244, allocations: 63.92 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.4246, allocations: 168 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.4248, allocations: 96.3 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.425, allocations: 63.72 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.4251, allocations: 83.55 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.4251, allocations: 16 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.773e-05/0.4252, allocations: 20 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.4252, allocations: 35.91 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.4253, allocations: 71.59 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.4255, allocations: 211.5 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4256, allocations: 4 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4256, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4256, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006752/0.4262, allocations: 454.9 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4263, allocations: 12.03 kB / 1.072 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.4264, allocations: 20.66 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.4268, allocations: 256 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.4268, allocations: 12.38 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.4269, allocations: 16.36 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.4272, allocations: 150 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4272, allocations: 192 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4272, allocations: 11.94 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4273, allocations: 8 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.4276, allocations: 123.8 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007292/0.4283, allocations: 484.1 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.4286, allocations: 122.6 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.4288, allocations: 48.83 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.4288, allocations: 4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.4289, allocations: 34.56 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.4289, allocations: 7.938 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005451/0.4294, allocations: 169.4 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4295, allocations: 59.34 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.4296, allocations: 156.6 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4296, allocations: 25.7 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.4297, allocations: 132.1 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.4298, allocations: 35.45 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.4298, allocations: 37.7 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4299, allocations: 326.8 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4301, allocations: 43.95 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.4303, allocations: 73.23 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.4306, allocations: 111.3 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4306, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003636/0.4309, allocations: 157.8 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.431, allocations: 4 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.431, allocations: 3.984 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.431, allocations: 4 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4312, allocations: 31.91 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4312, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/0.4313, allocations: 23.92 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.4313, allocations: 8 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.0001214/0.4314, allocations: 127.3 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4315, allocations: 7.906 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.4315, allocations: 16.72 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4315, allocations: 3.984 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4315, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4316, allocations: 7.938 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.4318, allocations: 237.4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4318, allocations: 4 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.4319, allocations: 19.98 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.432, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.432, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.432, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.432, allocations: 0 / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.4324, allocations: 239.3 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.4324, allocations: 88.94 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.4325, allocations: 11.94 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4326, allocations: 11.98 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4327, allocations: 15.98 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4327, allocations: 4 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.4328, allocations: 118.2 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4328, allocations: 0 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002478/0.433, allocations: 27.84 kB / 1.075 GB, free: 3.098 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: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001472/0.4332, allocations: 111.7 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.4336, allocations: 111.9 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4336, allocations: 3.938 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.4337, allocations: 68.08 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.4341, allocations: 14.44 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.4347, allocations: 282.4 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.435, allocations: 0.7161 MB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.856e-05/0.4351, allocations: 17.08 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.4352, allocations: 19.44 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4352, allocations: 0 / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.004008/0.4392, allocations: 1.25 MB / 1.078 GB, free: 0.5117 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches