Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008724, allocations: 92.16 kB / 16.02 MB, free: 80 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.001113/0.001113, allocations: 173 kB / 16.92 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 8.781 kB / 0.9035 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4034, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002237/0.4057, allocations: 0.9772 MB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.4078, allocations: 1.065 MB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.4081, allocations: 8 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.4083, allocations: 19.78 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.4085, allocations: 23.8 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.4088, allocations: 91.92 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.4092, allocations: 280.3 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.4096, allocations: 168.8 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.4098, allocations: 83.52 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.41, allocations: 91.36 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.41, allocations: 8 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.4101, allocations: 4 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.4101, allocations: 31.84 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.4103, allocations: 125 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.4108, allocations: 315.4 kB / 1.063 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4108, allocations: 0 / 1.063 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4108, allocations: 3.938 kB / 1.063 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.4108, allocations: 0 / 1.063 GB, free: 1.66 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001025/0.4119, allocations: 0.5108 MB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4119, allocations: 15.97 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.412, allocations: 28.56 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.4125, allocations: 321 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4126, allocations: 24.94 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.4126, allocations: 24.38 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.4131, allocations: 245.4 kB / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4131, allocations: 192 / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.4132, allocations: 11.94 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4132, allocations: 8 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.4136, allocations: 206 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.4148, allocations: 0.6978 MB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.4152, allocations: 186.7 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.4154, allocations: 76.83 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4155, allocations: 4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4155, allocations: 38.55 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.4155, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006808/0.4162, allocations: 250.5 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4163, allocations: 55.41 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.4165, allocations: 219.5 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.4165, allocations: 29.7 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4167, allocations: 168.4 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.4167, allocations: 55.3 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.4168, allocations: 41.69 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4169, allocations: 326.8 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4171, allocations: 72.42 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.4174, allocations: 132.4 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.4178, allocations: 197.5 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4178, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005443/0.4183, allocations: 233.3 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4184, allocations: 9.719 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.4184, allocations: 0 / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4184, allocations: 4 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.4186, allocations: 43.91 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4186, allocations: 4 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.4188, allocations: 32.02 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.4188, allocations: 12 kB / 1.067 GB, free: 13.16 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: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (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 prepare postOptimizeDAE: time 0.0001847/0.419, allocations: 145.7 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.4191, allocations: 23.7 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.4191, allocations: 25.88 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4192, allocations: 4 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4192, allocations: 0 / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4192, allocations: 11.92 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.4196, allocations: 309.3 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4196, allocations: 4 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.4197, allocations: 27.98 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4197, allocations: 0 / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4198, allocations: 4 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4198, allocations: 3.938 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4198, allocations: 4 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.4203, allocations: 288.4 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.4204, allocations: 104.8 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.4204, allocations: 0 / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.4206, allocations: 19.98 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.4207, allocations: 23.97 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.4207, allocations: 15.92 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001342/0.4208, allocations: 137.5 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4208, allocations: 0 / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003049/0.4212, allocations: 47.75 kB / 1.068 GB, free: 11.89 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: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001845/0.4213, allocations: 120.7 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.4218, allocations: 185.7 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4219, allocations: 8 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.4221, allocations: 83.89 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4225, allocations: 31.88 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.4234, allocations: 0.513 MB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4238, allocations: 0.749 MB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4239, allocations: 27.42 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of SimCode: time 7.91e-07/0.4239, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.005933/0.4298, allocations: 2.697 MB / 1.072 GB, free: 7.434 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches