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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 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.001848/0.001848, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.17/1.17, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 2.174/2.174, allocations: 437.1 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4505, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00214/0.4527, allocations: 1.28 MB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.4538, allocations: 1.076 MB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.454, allocations: 7.938 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.4541, allocations: 35.59 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.4542, allocations: 23.69 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.4544, allocations: 115.8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.4547, allocations: 284.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.4549, allocations: 180.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4551, allocations: 115.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.4552, allocations: 123.4 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.4552, allocations: 28 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.4553, allocations: 32 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.4553, allocations: 67.77 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.4554, allocations: 127.3 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.4557, allocations: 373 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4557, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4557, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4557, allocations: 0 / 1.021 GB, free: 14.65 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.0006752/0.4564, allocations: 0.5419 MB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4564, allocations: 12.03 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.4565, allocations: 58.73 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.4566, allocations: 28.56 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.457, allocations: 317 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.457, allocations: 20.94 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4571, allocations: 28.38 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.4575, allocations: 225.4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4575, allocations: 3.938 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.4575, allocations: 12 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4575, allocations: 7.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.4579, allocations: 174.1 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.4587, allocations: 0.6741 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.4591, allocations: 150.6 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4592, allocations: 64.88 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.4593, allocations: 11.91 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4593, allocations: 38.55 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.4593, allocations: 0 / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0005353/0.4598, allocations: 218.8 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.4599, allocations: 51.41 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.46, allocations: 211.7 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4601, allocations: 37.64 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.4602, allocations: 160 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.4602, allocations: 51.42 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.4603, allocations: 53.69 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.4604, allocations: 326.8 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4605, allocations: 63.95 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.4607, allocations: 120.3 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.461, allocations: 165.2 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.461, allocations: 3.938 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004076/0.4614, allocations: 221.1 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4615, allocations: 7.938 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4615, allocations: 7.984 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.4615, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.4617, allocations: 39.92 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4617, allocations: 11.92 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4618, allocations: 27.97 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4618, allocations: 11.98 kB / 1.025 GB, free: 10.27 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.0001224/0.462, allocations: 145.7 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.462, allocations: 15.81 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.462, allocations: 21.88 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4621, allocations: 7.984 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4621, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4621, allocations: 4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.4623, allocations: 301.3 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4623, allocations: 0 / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.4625, allocations: 23.97 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4625, allocations: 0 / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4625, allocations: 4 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4625, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4625, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.4629, allocations: 281.1 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.4629, allocations: 92.86 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.463, allocations: 0 / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4631, allocations: 15.98 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.4632, allocations: 31.95 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.4632, allocations: 7.984 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.588e-05/0.4633, allocations: 137.5 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4633, allocations: 0 / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002508/0.4635, allocations: 47.84 kB / 1.026 GB, free: 9.066 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.0005979/0.4641, allocations: 0.8219 MB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.4645, allocations: 165 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4646, allocations: 0 / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.4647, allocations: 82.2 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.465, allocations: 31.94 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.4672, allocations: 2.142 MB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.4674, allocations: 0.7445 MB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.4676, allocations: 33.94 kB / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4677, allocations: 76.66 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.4677, allocations: 3.938 kB / 1.03 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.996/3.463, allocations: 3.866 MB / 1.034 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/10.58, allocations: 4.828 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > 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/jenkins1/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