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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001521/0.001521, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001739/0.00174, allocations: 194.6 kB / 16.26 MB, free: 6.625 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.519/1.519, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.999/2.999, allocations: 461.9 MB / 0.7343 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.02 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3828, allocations: 157.4 MB / 1.052 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003813/0.3867, allocations: 1.351 MB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.389, allocations: 1.08 MB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004248/0.3895, allocations: 4 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.3898, allocations: 15.8 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3899, allocations: 27.78 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.3902, allocations: 87.89 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.3906, allocations: 300.3 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.3909, allocations: 176.8 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.3911, allocations: 131.4 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3913, allocations: 119.4 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.3914, allocations: 32 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.3914, allocations: 32 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.3915, allocations: 71.75 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3916, allocations: 135.3 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.392, allocations: 394.9 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.3921, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3921, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3921, allocations: 0 / 1.056 GB, free: 4.832 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.0008978/0.393, allocations: 0.542 MB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.393, allocations: 12.62 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.3931, allocations: 32.56 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.3936, allocations: 321 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.3937, allocations: 24.94 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.3937, allocations: 24.38 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.3942, allocations: 237.4 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3942, allocations: 192 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.3943, allocations: 15.94 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3943, allocations: 11.94 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.3948, allocations: 182.1 kB / 1.058 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3959, allocations: 0.6939 MB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.3963, allocations: 178.7 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3965, allocations: 80.81 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3966, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3966, allocations: 34.56 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 9.12e-07/0.3966, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0006427/0.3973, allocations: 238.8 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3973, allocations: 51.41 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3975, allocations: 215.5 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3976, allocations: 29.7 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3977, allocations: 168.4 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3977, allocations: 51.3 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.3978, allocations: 65.92 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3979, allocations: 326.8 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.3981, allocations: 64.42 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3983, allocations: 128.4 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3987, allocations: 186 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3987, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004405/0.3991, allocations: 225.3 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3992, allocations: 9.438 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3992, allocations: 7.984 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3992, allocations: 4 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.3994, allocations: 39.91 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3994, allocations: 0 / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3996, allocations: 27.83 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.3996, allocations: 8 kB / 1.06 GB, free: 392 kB / 0.8106 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.0002021/0.3998, allocations: 159.2 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3999, allocations: 15.81 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.3999, allocations: 25.86 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3999, allocations: 4 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3999, allocations: 0 / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3999, allocations: 0 / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.4003, allocations: 313.4 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4003, allocations: 0 / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4005, allocations: 31.81 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4005, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4005, allocations: 4 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4005, allocations: 3.938 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4005, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.401, allocations: 285 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.4011, allocations: 96.86 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.4011, allocations: 8 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.4012, allocations: 15.97 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.4013, allocations: 27.95 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.4014, allocations: 8 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001007/0.4015, allocations: 137.5 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4015, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002959/0.4018, allocations: 47.84 kB / 1.061 GB, free: 15.14 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.0001874/0.402, allocations: 115.2 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.4025, allocations: 175.7 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4025, allocations: 0 / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4027, allocations: 90.05 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.403, allocations: 27.94 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.4038, allocations: 0.4902 MB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.4042, allocations: 0.7448 MB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000143/0.4043, allocations: 33.94 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.4044, allocations: 19.44 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4044, allocations: 0 / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.005048/0.4095, allocations: 1.853 MB / 1.065 GB, free: 11.6 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/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