Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.001359/0.001359, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001522/0.001522, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.205/1.205, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.197/2.197, allocations: 437 MB / 0.7101 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4474, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001946/0.4494, allocations: 1.186 MB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.4503, allocations: 1.003 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.4504, allocations: 8 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.4505, allocations: 15.8 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.4506, allocations: 15.86 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.4508, allocations: 63.95 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.451, allocations: 216.2 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.4512, allocations: 128.2 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4513, allocations: 91.56 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.4514, allocations: 95.55 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.4514, allocations: 24 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.488e-05/0.4515, allocations: 24 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.4515, allocations: 43.84 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.4516, allocations: 99.47 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.4518, allocations: 277.3 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4518, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4518, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4518, allocations: 4 kB / 1.02 GB, free: 15.43 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000562/0.4524, allocations: 492.9 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.4524, allocations: 8.031 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.4525, allocations: 58.67 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.4525, allocations: 24.66 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.4529, allocations: 272.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4529, allocations: 20.81 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.4529, allocations: 20.38 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.4533, allocations: 191.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4533, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4533, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4533, allocations: 8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.4537, allocations: 145.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.4543, allocations: 0.5724 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.4545, allocations: 130.6 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4547, allocations: 60.81 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4547, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4547, allocations: 38.56 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.4547, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004794/0.4552, allocations: 207.5 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4553, allocations: 51.41 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4554, allocations: 175 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4554, allocations: 29.7 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.4555, allocations: 152.1 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4555, allocations: 35.41 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.4556, allocations: 53.69 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.4557, allocations: 322.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.4558, allocations: 51.95 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.456, allocations: 97.11 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.4562, allocations: 142 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4562, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003342/0.4566, allocations: 181.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4566, allocations: 4 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4566, allocations: 8.156 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4566, allocations: 3.938 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4568, allocations: 35.91 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4568, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.4569, allocations: 27.83 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.4569, allocations: 4 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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 8.963e-05/0.457, allocations: 138.4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.457, allocations: 19.81 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.4571, allocations: 25.45 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4571, allocations: 3.938 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4571, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4571, allocations: 3.938 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.4573, allocations: 261.5 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4573, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.4574, allocations: 19.98 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4574, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4575, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4575, allocations: 7.938 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4575, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.4578, allocations: 260.3 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.4578, allocations: 92.86 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4579, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.458, allocations: 19.92 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.458, allocations: 19.92 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4581, allocations: 7.984 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.4581, allocations: 124.8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4581, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002318/0.4584, allocations: 39.84 kB / 1.025 GB, free: 10.48 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: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0005421/0.4589, allocations: 0.7932 MB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.4593, allocations: 139.8 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4593, allocations: 8.312 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4594, allocations: 74.56 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4597, allocations: 22.17 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.4616, allocations: 1.961 MB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.4618, allocations: 0.7358 MB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.595e-05/0.4619, allocations: 25.53 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.462, allocations: 59.42 kB / 1.028 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/0.462, allocations: 0 / 1.028 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.709/4.171, allocations: 2.968 MB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/4.171, allocations: 277.7 kB / 1.032 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/5.731, allocations: 0 / 1.032 GB, free: 3.41 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches