Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.001228/0.001228, 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.001172/0.001172, allocations: 192.5 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.204/1.204, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.304/2.304, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 68.38 kB / 0.8988 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2415, allocations: 157.4 MB / 1.052 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002639/0.2441, allocations: 1.491 MB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2454, allocations: 1.085 MB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2455, allocations: 4 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.349e-05/0.2456, allocations: 19.78 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.2458, allocations: 19.81 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.246, allocations: 111.9 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.2463, allocations: 344.6 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.2466, allocations: 206 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.2468, allocations: 139.5 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.247, allocations: 151.2 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.247, allocations: 36 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.2471, allocations: 40 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.2471, allocations: 79.75 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2472, allocations: 163.1 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.2476, allocations: 462.7 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2476, allocations: 4 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.587e-06/0.2476, allocations: 0 / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.2476, allocations: 3.938 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.000738/0.2484, allocations: 0.5813 MB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2484, allocations: 8.031 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.2485, allocations: 70.72 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.2486, allocations: 40.47 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.249, allocations: 321.4 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.2491, allocations: 33.38 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.2491, allocations: 28.38 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.2496, allocations: 295.1 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2496, allocations: 3.938 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2497, allocations: 12 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2497, allocations: 8 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.2502, allocations: 231.9 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2512, allocations: 0.8328 MB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.2517, allocations: 252.4 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.2519, allocations: 118 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2519, allocations: 4.234 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2519, allocations: 42.72 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.363e-06/0.252, allocations: 0 / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0006663/0.2526, allocations: 319.3 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.2527, allocations: 51.41 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2528, allocations: 211.5 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2529, allocations: 33.7 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.253, allocations: 176.2 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.253, allocations: 78.83 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.2531, allocations: 69.97 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2532, allocations: 334.8 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.2534, allocations: 76.52 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.2536, allocations: 147.9 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.254, allocations: 218.7 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.254, allocations: 4 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004941/0.2545, allocations: 282 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2546, allocations: 4 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2546, allocations: 4.219 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2546, allocations: 11.94 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.2548, allocations: 51.89 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2548, allocations: 4 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.255, allocations: 23.84 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.255, allocations: 15.98 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.0001457/0.2551, allocations: 145.8 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.2552, allocations: 27.72 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.2557, allocations: 256 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2557, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2557, allocations: 4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2557, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.256, allocations: 353.3 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2561, allocations: 4 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2562, allocations: 35.97 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2562, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.2563, allocations: 15.88 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2563, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2563, allocations: 4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.2567, allocations: 335.1 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.2568, allocations: 100.8 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.2568, allocations: 7.938 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.257, allocations: 15.98 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.257, allocations: 19.97 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2571, allocations: 12 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.981e-05/0.2571, allocations: 137.5 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2572, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002752/0.2574, allocations: 59.69 kB / 1.063 GB, free: 13.46 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: 9 (actAirSet.or3.y,actAirSet.or2.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 (27): * Single equations (assignments): 27 * 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.0007049/0.2581, allocations: 0.873 MB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000509/0.2587, allocations: 239.6 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2587, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.2589, allocations: 119.9 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2592, allocations: 20.44 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.2619, allocations: 2.509 MB / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.2622, allocations: 0.7636 MB / 1.067 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000144/0.2623, allocations: 38.27 kB / 1.067 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2625, allocations: 103.4 kB / 1.068 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2625, allocations: 0 / 1.068 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5899/0.8524, allocations: 3.861 MB / 1.071 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.8526, allocations: 267 kB / 1.072 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.518, allocations: 64 / 1.072 GB, free: 4.727 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches