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 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.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.008405/0.008405, allocations: 104.3 kB / 15.73 MB, free: 5.961 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.001448/0.001448, allocations: 192.7 kB / 16.67 MB, free: 5.879 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.652/2.652, allocations: 472.7 MB / 0.7453 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.88 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002928/1.06, allocations: 1.302 MB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001397/1.061, allocations: 1.076 MB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/1.061, allocations: 7.938 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/1.062, allocations: 35.59 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.647e-05/1.062, allocations: 35.59 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/1.062, allocations: 111.8 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/1.062, allocations: 300.3 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/1.063, allocations: 186.3 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/1.063, allocations: 119.5 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/1.063, allocations: 123.4 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/1.063, allocations: 32 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/1.063, allocations: 32 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/1.063, allocations: 71.75 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/1.063, allocations: 127.3 kB / 1.229 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/1.064, allocations: 410.8 kB / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.064, allocations: 0 / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/1.064, allocations: 0 / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.064, allocations: 0 / 1.23 GB, free: 9.59 MB / 0.9512 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.0008644/1.065, allocations: 0.5611 MB / 1.23 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.065, allocations: 8.031 kB / 1.23 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/1.065, allocations: 32.75 kB / 1.23 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/1.065, allocations: 329.6 kB / 1.23 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.065, allocations: 28.94 kB / 1.23 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/1.065, allocations: 24.38 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/1.066, allocations: 229.4 kB / 1.231 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.066, allocations: 192 / 1.231 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/1.066, allocations: 15.92 kB / 1.231 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.066, allocations: 11.94 kB / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/1.066, allocations: 194.1 kB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/1.067, allocations: 0.6864 MB / 1.232 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/1.068, allocations: 178.7 kB / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/1.068, allocations: 76.83 kB / 1.232 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/1.068, allocations: 7.984 kB / 1.232 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/1.068, allocations: 30.56 kB / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/1.068, allocations: 0 / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0006257/1.069, allocations: 239.4 kB / 1.232 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.069, allocations: 59.39 kB / 1.232 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/1.069, allocations: 207.7 kB / 1.232 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.069, allocations: 33.7 kB / 1.232 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.069, allocations: 164.7 kB / 1.233 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/1.069, allocations: 59.47 kB / 1.233 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/1.069, allocations: 61.92 kB / 1.233 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.069, allocations: 334.8 kB / 1.233 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/1.07, allocations: 60.42 kB / 1.233 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/1.07, allocations: 119.8 kB / 1.233 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/1.07, allocations: 180.9 kB / 1.233 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.07, allocations: 0 / 1.233 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004486/1.071, allocations: 229.2 kB / 1.234 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.071, allocations: 4 kB / 1.234 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.071, allocations: 4 kB / 1.234 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.071, allocations: 4.219 kB / 1.234 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/1.071, allocations: 43.91 kB / 1.234 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.071, allocations: 4 kB / 1.234 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/1.071, allocations: 27.88 kB / 1.234 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/1.071, allocations: 4 kB / 1.234 GB, free: 5.109 MB / 0.9512 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.0001284/1.071, allocations: 154.2 kB / 1.234 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/1.071, allocations: 23.86 kB / 1.234 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/1.071, allocations: 25.86 kB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.071, allocations: 0 / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.071, allocations: 0 / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/1.071, allocations: 4 kB / 1.234 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/1.072, allocations: 309.3 kB / 1.234 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.072, allocations: 0 / 1.234 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/1.072, allocations: 35.91 kB / 1.234 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.072, allocations: 0 / 1.234 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/1.072, allocations: 4 kB / 1.234 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.072, allocations: 4 kB / 1.234 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.072, allocations: 4 kB / 1.234 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/1.072, allocations: 273 kB / 1.234 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/1.072, allocations: 100.9 kB / 1.235 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/1.072, allocations: 4 kB / 1.235 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/1.072, allocations: 19.98 kB / 1.235 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/1.073, allocations: 23.97 kB / 1.235 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/1.073, allocations: 11.98 kB / 1.235 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001081/1.073, allocations: 137.5 kB / 1.235 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.563e-06/1.073, allocations: 0 / 1.235 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002829/1.073, allocations: 55.72 kB / 1.235 GB, free: 3.852 MB / 0.9512 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.0001871/1.073, allocations: 124.9 kB / 1.235 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004932/1.074, allocations: 167.8 kB / 1.235 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.074, allocations: 0 / 1.235 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.074, allocations: 85.78 kB / 1.235 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/1.074, allocations: 32.36 kB / 1.235 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/1.075, allocations: 413.4 kB / 1.236 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.075, allocations: 0.7487 MB / 1.236 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000115/1.076, allocations: 25.95 kB / 1.236 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/1.076, allocations: 27.42 kB / 1.236 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/1.076, allocations: 0 / 1.236 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of Templates: time 0.005155/1.081, allocations: 1.994 MB / 1.238 GB, free: 264 kB / 0.9512 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/jenkins/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