Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ParallelFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.00122/0.00122, allocations: 108 kB / 15.6 MB, free: 128 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.001203/0.001203, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4732, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides): time 0.002073/0.4753, allocations: 1.346 MB / 0.9511 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4764, allocations: 1.314 MB / 0.9524 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.4765, allocations: 5 kB / 0.9524 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.4766, allocations: 35.53 kB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.4767, allocations: 34.53 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.4771, allocations: 217.8 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.4774, allocations: 385.1 kB / 0.953 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.4776, allocations: 169 kB / 0.9532 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4777, allocations: 153.3 kB / 0.9533 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.4779, allocations: 170 kB / 0.9535 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.4779, allocations: 39.78 kB / 0.9535 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/0.478, allocations: 50.08 kB / 0.9536 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.4781, allocations: 73.58 kB / 0.9536 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.4782, allocations: 168.2 kB / 0.9538 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.4785, allocations: 463.4 kB / 0.9542 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4785, allocations: 0 / 0.9542 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4785, allocations: 1.188 kB / 0.9542 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.4785, allocations: 0 / 0.9542 GB, free: 5.703 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008167/0.4793, allocations: 0.6322 MB / 0.9549 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.4794, allocations: 9.531 kB / 0.9549 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.4794, allocations: 68.41 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.4795, allocations: 35.34 kB / 0.955 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.4802, allocations: 358.7 kB / 0.9553 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.4802, allocations: 23.94 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.4803, allocations: 41.69 kB / 0.9554 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.4808, allocations: 312.7 kB / 0.9557 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4808, allocations: 3.938 kB / 0.9557 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.4808, allocations: 13.92 kB / 0.9557 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4809, allocations: 7.25 kB / 0.9557 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.4814, allocations: 217.6 kB / 0.9559 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009083/0.4824, allocations: 1.008 MB / 0.9569 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.4828, allocations: 211 kB / 0.9571 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.4831, allocations: 101.1 kB / 0.9572 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4831, allocations: 3.188 kB / 0.9572 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/0.4834, allocations: 182.2 kB / 0.9574 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.4835, allocations: 1.531 kB / 0.9574 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0008904/0.4844, allocations: 316.8 kB / 0.9577 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.4844, allocations: 106.9 kB / 0.9578 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.4845, allocations: 223.1 kB / 0.958 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4845, allocations: 32.45 kB / 0.958 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.4846, allocations: 176.8 kB / 0.9582 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.4847, allocations: 63.34 kB / 0.9582 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.4848, allocations: 84.05 kB / 0.9583 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.4848, allocations: 336.3 kB / 0.9586 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.4851, allocations: 97.7 kB / 0.9587 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.4854, allocations: 190.2 kB / 0.9589 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.486, allocations: 300.3 kB / 0.9592 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.486, allocations: 0.9062 kB / 0.9592 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007577/0.4868, allocations: 376.9 kB / 0.9596 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4868, allocations: 33.64 kB / 0.9596 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4868, allocations: 3.438 kB / 0.9596 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4868, allocations: 8.297 kB / 0.9596 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.4871, allocations: 46.78 kB / 0.9597 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4871, allocations: 8.438 kB / 0.9597 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.4874, allocations: 60.22 kB / 0.9597 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.4874, allocations: 16.88 kB / 0.9597 GB, free: 1.285 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.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 (31): * Single equations (assignments): 30 * 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.0001051/0.4875, allocations: 165.6 kB / 0.9599 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.4876, allocations: 25.78 kB / 0.9599 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.4876, allocations: 23.53 kB / 0.9599 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4876, allocations: 6.703 kB / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4877, allocations: 0.9375 kB / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4877, allocations: 1 kB / 0.9599 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.4879, allocations: 322.6 kB / 0.9603 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4879, allocations: 0 / 0.9603 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.4881, allocations: 36.03 kB / 0.9603 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4881, allocations: 2.031 kB / 0.9603 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4881, allocations: 14.14 kB / 0.9603 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4881, allocations: 5.125 kB / 0.9603 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4881, allocations: 9 kB / 0.9603 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.4887, allocations: 271 kB / 0.9606 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.4888, allocations: 99.42 kB / 0.9607 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.4888, allocations: 6.406 kB / 0.9607 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.4889, allocations: 16.94 kB / 0.9607 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.489, allocations: 35.88 kB / 0.9607 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.4891, allocations: 14.17 kB / 0.9607 GB, free: 448 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.4891, allocations: 148.7 kB / 0.9609 GB, free: 336 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4891, allocations: 1.062 kB / 0.9609 GB, free: 336 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002787/0.4894, allocations: 65 kB / 0.9609 GB, free: 316 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.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 (22): * Single equations (assignments): 21 * 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.0008268/0.4903, allocations: 0.8289 MB / 0.9618 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007188/0.491, allocations: 329.1 kB / 0.9621 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.491, allocations: 1.531 kB / 0.9621 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.4913, allocations: 116.6 kB / 0.9622 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.4916, allocations: 40.41 kB / 0.9622 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.4949, allocations: 2.561 MB / 0.9647 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.4951, allocations: 0.755 MB / 0.9655 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.4953, allocations: 43.61 kB / 0.9655 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.4954, allocations: 97.36 kB / 0.9656 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.4954, allocations: 0 / 0.9656 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.5159, allocations: 5.671 MB / 0.9711 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/7.032, allocations: 6.312 kB / 0.9711 GB, free: 9.684 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches