Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001548/0.001548, 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.001703/0.001703, allocations: 194.9 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.56/1.56, allocations: 222.9 MB / 240.2 MB, free: 4.383 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 3.115/3.115, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 72.08 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6983, allocations: 151.6 MB / 1.017 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.0032/0.7016, allocations: 1.279 MB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.7031, allocations: 1.08 MB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.7033, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.7035, allocations: 35.53 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.7036, allocations: 39.59 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.7039, allocations: 103.8 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.7042, allocations: 288.4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.7045, allocations: 164.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.7047, allocations: 123.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.7049, allocations: 123.4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.705, allocations: 28 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.432e-05/0.705, allocations: 32 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.7051, allocations: 63.77 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.7052, allocations: 123.3 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.7056, allocations: 384.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7056, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7056, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.7056, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009015/0.7065, allocations: 0.5419 MB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.7066, allocations: 8.031 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.563e-05/0.7067, allocations: 32.56 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.7073, allocations: 313.1 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.7073, allocations: 16.94 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.7073, allocations: 32.31 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.7078, allocations: 221.4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.7078, allocations: 4.172 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.7079, allocations: 11.94 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.7079, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.7083, allocations: 178.1 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.7094, allocations: 0.6663 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.7098, allocations: 150.5 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.71, allocations: 74.56 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.71, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.7101, allocations: 42.41 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.193e-06/0.7101, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.000644/0.7108, allocations: 217.3 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.7108, allocations: 55.41 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.711, allocations: 204.8 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.7111, allocations: 29.7 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.7112, allocations: 172 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.7113, allocations: 43.36 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.7114, allocations: 57.69 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.7116, allocations: 330.8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.7118, allocations: 59.97 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.712, allocations: 131.8 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.7124, allocations: 164.6 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7124, allocations: 0 / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004756/0.7128, allocations: 223 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7129, allocations: 8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7129, allocations: 0 / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7129, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.7131, allocations: 39.91 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7131, allocations: 4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.7132, allocations: 31.95 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.7133, allocations: 8 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.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 (25): * Single equations (assignments): 25 * 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.0001879/0.7135, allocations: 149.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.7135, allocations: 23.73 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.7136, allocations: 21.88 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.7136, allocations: 4 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.7136, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7136, allocations: 4 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.7139, allocations: 305.3 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7139, allocations: 0 / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.7141, allocations: 27.92 kB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7141, allocations: 0 / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.7141, allocations: 3.984 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7141, allocations: 4 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7141, allocations: 0 / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.7146, allocations: 268.1 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.7147, allocations: 96.86 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.7147, allocations: 4 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.7148, allocations: 15.98 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.7149, allocations: 19.97 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.715, allocations: 8 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001194/0.7151, allocations: 144.5 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7151, allocations: 0 / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002838/0.7154, allocations: 43.84 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (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,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 (17): * Single equations (assignments): 17 * 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.0001408/0.7155, allocations: 118.4 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.716, allocations: 173.8 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.716, allocations: 0 / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.7162, allocations: 83.89 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.7165, allocations: 29.84 kB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/0.7173, allocations: 394.1 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.7177, allocations: 0.7484 MB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.7178, allocations: 29.88 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.7179, allocations: 31.42 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7179, allocations: 0 / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of Templates: time 0.005747/0.7237, allocations: 1.918 MB / 1.03 GB, free: 5.707 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches