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.006519/0.006519, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001764/0.001764, allocations: 194.6 kB / 16.67 MB, free: 6.348 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.45/2.45, allocations: 437.1 MB / 0.7106 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001799, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2543, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002413/0.2568, allocations: 1.281 MB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2581, allocations: 1.08 MB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2582, allocations: 4 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.2583, allocations: 31.61 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.854e-05/0.2584, allocations: 31.61 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.2586, allocations: 111.8 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.2589, allocations: 280.4 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.2592, allocations: 176.8 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.2594, allocations: 123.4 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2595, allocations: 115.4 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.2596, allocations: 28 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.2596, allocations: 32 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.2597, allocations: 63.83 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2598, allocations: 135.2 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.2602, allocations: 386.6 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2602, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2602, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.2602, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 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.0008012/0.261, allocations: 0.5533 MB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2611, allocations: 12.03 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.2611, allocations: 58.73 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.2612, allocations: 28.75 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.2618, allocations: 325.2 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2618, allocations: 20.94 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.2618, allocations: 20.38 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.2623, allocations: 225.4 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2623, allocations: 3.938 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2623, allocations: 16 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.2624, allocations: 4 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2628, allocations: 174.1 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.2637, allocations: 0.6665 MB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.2641, allocations: 150.5 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2643, allocations: 72.94 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2643, allocations: 7.984 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.2644, allocations: 42.56 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.2644, allocations: 0 / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of matching and sorting (n=17): time 0.0006033/0.265, allocations: 219.3 kB / 1.173 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.265, allocations: 51.41 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.2652, allocations: 211.6 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.2653, allocations: 33.7 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2654, allocations: 164.4 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.2654, allocations: 51.58 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/0.2655, allocations: 61.69 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2657, allocations: 326.8 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.2659, allocations: 59.97 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.2661, allocations: 118.8 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.2665, allocations: 177 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2665, allocations: 3.938 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004537/0.2669, allocations: 217.3 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.267, allocations: 4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.267, allocations: 4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.267, allocations: 3.938 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.2672, allocations: 39.97 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.2672, allocations: 7.938 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.2673, allocations: 27.83 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2673, allocations: 12.22 kB / 1.174 GB, free: 14.95 MB / 0.9356 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.0001287/0.2675, allocations: 141.8 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.2675, allocations: 15.91 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.2676, allocations: 25.86 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.2676, allocations: 4 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2676, allocations: 0 / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2676, allocations: 3.938 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.2679, allocations: 305.3 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2679, allocations: 4 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.2681, allocations: 19.98 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2681, allocations: 4 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2681, allocations: 7.984 kB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2681, allocations: 0 / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2681, allocations: 0 / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.2686, allocations: 273.2 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.2686, allocations: 100.9 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.2687, allocations: 0 / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2688, allocations: 15.98 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.2689, allocations: 27.97 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.2689, allocations: 4 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001099/0.269, allocations: 133.5 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.269, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002792/0.2693, allocations: 51.89 kB / 1.175 GB, free: 13.74 MB / 0.9356 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.0007679/0.2701, allocations: 0.816 MB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.2705, allocations: 164.8 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2705, allocations: 0 / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.2707, allocations: 75.89 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.271, allocations: 44.16 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.2737, allocations: 2.154 MB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.2741, allocations: 0.7445 MB / 1.179 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.2742, allocations: 33.92 kB / 1.179 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2743, allocations: 75.41 kB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2743, allocations: 0 / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9488/1.223, allocations: 3.936 MB / 1.183 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.08, allocations: 14.3 kB / 1.183 GB, free: 5.742 MB / 0.9356 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=400 --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