Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.001197/0.001198, allocations: 108 kB / 15.61 MB, free: 152 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.001207/0.001207, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.082/2.082, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 0.8127 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4834, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides): time 0.00205/0.4855, allocations: 1.326 MB / 0.9511 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.4866, allocations: 1.318 MB / 0.9524 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.891e-05/0.4867, allocations: 4.031 kB / 0.9524 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.673e-05/0.4867, allocations: 31.55 kB / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.4868, allocations: 43.53 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.4873, allocations: 219.1 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.4875, allocations: 376.4 kB / 0.953 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.4877, allocations: 176.8 kB / 0.9532 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.4879, allocations: 146.4 kB / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.488, allocations: 169.3 kB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.4881, allocations: 40 kB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.4881, allocations: 57.92 kB / 0.9536 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.4882, allocations: 77.03 kB / 0.9536 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.4883, allocations: 165.5 kB / 0.9538 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.4886, allocations: 462.8 kB / 0.9542 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4886, allocations: 0 / 0.9542 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4886, allocations: 0 / 0.9542 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4886, allocations: 1.156 kB / 0.9542 GB, free: 5.742 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.0008177/0.4894, allocations: 0.6326 MB / 0.9549 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.4895, allocations: 8.938 kB / 0.9549 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.4895, allocations: 64.45 kB / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.4896, allocations: 38.42 kB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.4903, allocations: 371.6 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.4903, allocations: 23.25 kB / 0.9553 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.4904, allocations: 38.78 kB / 0.9554 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.4909, allocations: 308.4 kB / 0.9557 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4909, allocations: 0 / 0.9557 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.4909, allocations: 15.53 kB / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4909, allocations: 7.062 kB / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.4915, allocations: 220.7 kB / 0.9559 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.4924, allocations: 0.9984 MB / 0.9569 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.4929, allocations: 208 kB / 0.9571 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.4931, allocations: 105.6 kB / 0.9572 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.4932, allocations: 2.781 kB / 0.9572 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.4935, allocations: 190.2 kB / 0.9574 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.4935, allocations: 0 / 0.9574 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0008866/0.4944, allocations: 318 kB / 0.9577 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.4945, allocations: 109.8 kB / 0.9578 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4946, allocations: 224.4 kB / 0.958 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4946, allocations: 32.45 kB / 0.958 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.4947, allocations: 172.8 kB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.4947, allocations: 63.34 kB / 0.9582 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.4948, allocations: 80.05 kB / 0.9583 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.4949, allocations: 332.3 kB / 0.9586 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.4952, allocations: 100.5 kB / 0.9587 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.4955, allocations: 195 kB / 0.9589 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.4961, allocations: 300.5 kB / 0.9592 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4961, allocations: 1.062 kB / 0.9592 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007732/0.4969, allocations: 372.2 kB / 0.9596 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.4969, allocations: 34.42 kB / 0.9596 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4969, allocations: 2.375 kB / 0.9596 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4969, allocations: 5.156 kB / 0.9596 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.4972, allocations: 54.17 kB / 0.9597 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4972, allocations: 4.125 kB / 0.9597 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.4975, allocations: 60.64 kB / 0.9597 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.4975, allocations: 20.39 kB / 0.9597 GB, free: 1.32 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.0001136/0.4977, allocations: 158.5 kB / 0.9599 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4977, allocations: 25.5 kB / 0.9599 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.4977, allocations: 27.11 kB / 0.9599 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4978, allocations: 6.25 kB / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4978, allocations: 1.5 kB / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4978, allocations: 5.609 kB / 0.9599 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.498, allocations: 321.8 kB / 0.9603 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.498, allocations: 1.062 kB / 0.9603 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.4982, allocations: 39.95 kB / 0.9603 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4982, allocations: 4.812 kB / 0.9603 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4982, allocations: 10.62 kB / 0.9603 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4982, allocations: 6.141 kB / 0.9603 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4982, allocations: 5.062 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.4988, allocations: 273.6 kB / 0.9606 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.4989, allocations: 107.3 kB / 0.9607 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.4989, allocations: 2.156 kB / 0.9607 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.499, allocations: 20.8 kB / 0.9607 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.4991, allocations: 36.77 kB / 0.9607 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4992, allocations: 5.75 kB / 0.9607 GB, free: 480 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.797e-05/0.4992, allocations: 153.2 kB / 0.9609 GB, free: 364 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4992, allocations: 0 / 0.9609 GB, free: 364 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002781/0.4995, allocations: 65.22 kB / 0.961 GB, free: 344 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.0008493/0.5004, allocations: 0.83 MB / 0.9618 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007245/0.5011, allocations: 314.5 kB / 0.9621 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5011, allocations: 4 kB / 0.9621 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.5015, allocations: 116.4 kB / 0.9622 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.5017, allocations: 35.55 kB / 0.9622 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.505, allocations: 2.572 MB / 0.9647 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.5052, allocations: 0.7598 MB / 0.9655 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.5054, allocations: 39.44 kB / 0.9655 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.5055, allocations: 92.75 kB / 0.9656 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5055, allocations: 0 / 0.9656 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.5257, allocations: 5.673 MB / 0.9711 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/7.096, allocations: 13.64 kB / 0.9711 GB, free: 9.711 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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_ParallelFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches