Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.001244/0.001244, 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.001423/0.001423, allocations: 192.7 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.422/2.422, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.08 kB / 0.9083 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2355, allocations: 159.1 MB / 1.064 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002147/0.2377, allocations: 1.025 MB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.2387, allocations: 0.9791 MB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.2388, allocations: 0 / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.2388, allocations: 11.81 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.239, allocations: 23.73 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.2391, allocations: 71.86 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2393, allocations: 164.1 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2395, allocations: 96.27 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2396, allocations: 67.72 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.08e-05/0.2397, allocations: 75.62 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.2397, allocations: 20 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.254e-05/0.2398, allocations: 20 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.2398, allocations: 39.89 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.2399, allocations: 75.59 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2401, allocations: 203.5 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2401, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2401, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2401, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000552/0.2406, allocations: 454.9 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2407, allocations: 16.03 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.2407, allocations: 46.73 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.2408, allocations: 20.66 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.2411, allocations: 252 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2412, allocations: 16.38 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2412, allocations: 12.38 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2415, allocations: 163.1 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2415, allocations: 3.938 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2415, allocations: 4 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2415, allocations: 7.938 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.2418, allocations: 115.9 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.2424, allocations: 496 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.2427, allocations: 114.7 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2428, allocations: 56.83 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2429, allocations: 0 / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2429, allocations: 34.56 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.2429, allocations: 0 / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004903/0.2434, allocations: 177.4 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.2434, allocations: 55.41 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2435, allocations: 158.3 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2436, allocations: 25.7 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.2436, allocations: 124.2 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.2437, allocations: 35.53 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.2437, allocations: 45.61 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.2438, allocations: 322.8 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2439, allocations: 47.97 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.2441, allocations: 71.39 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.2444, allocations: 111.3 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2444, allocations: 4 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003355/0.2447, allocations: 153.8 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2447, allocations: 8 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2447, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2448, allocations: 4.094 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2449, allocations: 23.98 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2449, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.245, allocations: 23.83 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.245, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (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 prepare postOptimizeDAE: time 8.815e-05/0.2451, allocations: 137.7 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.2452, allocations: 11.91 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.2452, allocations: 16.72 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2452, allocations: 4 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2452, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2452, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.2454, allocations: 233.4 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2454, allocations: 4 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2456, allocations: 19.97 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2456, allocations: 0 / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2456, allocations: 8 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2456, allocations: 0 / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2456, allocations: 7.938 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.2459, allocations: 235.2 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.246, allocations: 92.95 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.246, allocations: 3.984 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.2461, allocations: 7.984 kB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.2462, allocations: 23.98 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.2462, allocations: 7.984 kB / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.2463, allocations: 109.6 kB / 1.07 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2463, allocations: 0 / 1.07 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002394/0.2465, allocations: 31.84 kB / 1.07 GB, free: 7.141 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: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0005575/0.2471, allocations: 0.7724 MB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.2474, allocations: 115.9 kB / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2474, allocations: 0 / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.2476, allocations: 60.09 kB / 1.071 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2479, allocations: 25.67 kB / 1.071 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2497, allocations: 1.733 MB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2499, allocations: 0.7162 MB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.406e-05/0.25, allocations: 21.08 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.2501, allocations: 51.42 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2501, allocations: 0 / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2659, allocations: 2.728 MB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.401/6.667, allocations: 13.36 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches