Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",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.006799/0.006799, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001767/0.001767, allocations: 189 kB / 16.68 MB, free: 6.367 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.506/2.506, allocations: 437.1 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.236, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002121/0.2382, allocations: 1.139 MB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2396, allocations: 1.253 MB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.2397, allocations: 4 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.09e-05/0.2397, allocations: 19.73 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2398, allocations: 31.66 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.2403, allocations: 187.4 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.2406, allocations: 275.9 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.2408, allocations: 99.81 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2409, allocations: 119.6 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2411, allocations: 111.5 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.2411, allocations: 28 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.2412, allocations: 43.97 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.2413, allocations: 51.84 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2414, allocations: 115.4 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.2417, allocations: 330.9 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2417, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2417, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2417, allocations: 4 kB / 1.17 GB, free: 3.496 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008291/0.2425, allocations: 0.543 MB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2426, allocations: 16.02 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.2426, allocations: 50.73 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.2427, allocations: 28.8 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.2434, allocations: 297.5 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2434, allocations: 20.27 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.2435, allocations: 32.31 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.2439, allocations: 211.3 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.2439, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.244, allocations: 4 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.244, allocations: 8 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.2445, allocations: 151.9 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007868/0.2453, allocations: 0.6602 MB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.2456, allocations: 145.2 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.2459, allocations: 85.8 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2459, allocations: 4 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.2463, allocations: 149 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.2463, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of matching and sorting (n=17): time 0.0008074/0.2471, allocations: 261.3 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2472, allocations: 77.11 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2473, allocations: 183.8 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.2474, allocations: 25.7 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.2474, allocations: 144.4 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.2475, allocations: 59.52 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.2476, allocations: 57.69 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2477, allocations: 322.8 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.248, allocations: 75.94 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.2483, allocations: 129.1 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.2488, allocations: 210.6 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2488, allocations: 4 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006859/0.2495, allocations: 291 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.2495, allocations: 39.41 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2495, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2496, allocations: 7.938 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.2498, allocations: 35.91 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2498, allocations: 0 / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.2501, allocations: 47.91 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.2501, allocations: 16.05 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.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): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001126/0.2502, allocations: 137.8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.2502, allocations: 15.91 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.2503, allocations: 13.72 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2503, allocations: 7.938 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2503, allocations: 0 / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2503, allocations: 11.92 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.2505, allocations: 261.5 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2506, allocations: 8 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2507, allocations: 27.97 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2508, allocations: 3.938 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2508, allocations: 11.98 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2508, allocations: 3.938 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2508, allocations: 0 / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.2513, allocations: 227.7 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.2514, allocations: 96.94 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.2514, allocations: 4 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2516, allocations: 15.92 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.2516, allocations: 27.91 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2516, allocations: 12 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.2517, allocations: 115.2 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2517, allocations: 0 / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002637/0.252, allocations: 51.89 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008134/0.2528, allocations: 0.7692 MB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006272/0.2535, allocations: 259.3 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2535, allocations: 0 / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.2538, allocations: 88.64 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.254, allocations: 35.91 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.2569, allocations: 2.128 MB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2572, allocations: 0.7241 MB / 1.179 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00011/0.2573, allocations: 29.53 kB / 1.179 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.2574, allocations: 59.42 kB / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of SimCode: time 6.12e-07/0.2574, allocations: 0 / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.277, allocations: 4.486 MB / 1.183 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.547, allocations: 11.47 kB / 1.184 GB, free: 5.133 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches