Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.001017/0.001017, 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.0009278/0.0009277, allocations: 194.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.174/1.174, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.071/2.071, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 0.8127 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4825, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002079/0.4846, allocations: 1.342 MB / 0.9511 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.4857, allocations: 1.314 MB / 0.9524 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.4858, allocations: 4.094 kB / 0.9524 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.997e-05/0.4859, allocations: 35.53 kB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.486, allocations: 47.03 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.4864, allocations: 210.3 kB / 0.9526 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.4867, allocations: 385.5 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.4869, allocations: 172.5 kB / 0.9532 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.487, allocations: 145.6 kB / 0.9533 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.4872, allocations: 166.3 kB / 0.9535 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.4872, allocations: 39.66 kB / 0.9535 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.4873, allocations: 58.11 kB / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.4874, allocations: 85.14 kB / 0.9536 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4875, allocations: 160.6 kB / 0.9538 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.4878, allocations: 462.9 kB / 0.9542 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.4878, allocations: 0 / 0.9542 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4878, allocations: 1.531 kB / 0.9542 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4878, allocations: 0 / 0.9542 GB, free: 5.68 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.0008494/0.4886, allocations: 0.6322 MB / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.4887, allocations: 9.531 kB / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.4887, allocations: 67.41 kB / 0.9549 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.4888, allocations: 35.16 kB / 0.955 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/0.4895, allocations: 363.9 kB / 0.9553 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.4896, allocations: 26.91 kB / 0.9553 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.4896, allocations: 38.17 kB / 0.9554 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.4901, allocations: 312.8 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4901, allocations: 0 / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.4902, allocations: 10.16 kB / 0.9557 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4902, allocations: 11.06 kB / 0.9557 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.4908, allocations: 222.8 kB / 0.9559 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.4917, allocations: 0.9946 MB / 0.9569 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.4921, allocations: 212.1 kB / 0.9571 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.4924, allocations: 101.3 kB / 0.9572 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.4924, allocations: 5.375 kB / 0.9572 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.4928, allocations: 177.2 kB / 0.9574 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.4928, allocations: 0 / 0.9574 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0008794/0.4937, allocations: 325.8 kB / 0.9577 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.4937, allocations: 105.1 kB / 0.9578 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4938, allocations: 227.3 kB / 0.958 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4939, allocations: 33.61 kB / 0.958 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.4939, allocations: 173.1 kB / 0.9582 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.494, allocations: 63.34 kB / 0.9582 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4941, allocations: 83.05 kB / 0.9583 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.4941, allocations: 332.3 kB / 0.9586 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.4945, allocations: 101.9 kB / 0.9587 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.4948, allocations: 194.8 kB / 0.9589 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.4954, allocations: 296.5 kB / 0.9592 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.4954, allocations: 1.188 kB / 0.9592 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007743/0.4962, allocations: 376.3 kB / 0.9596 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4962, allocations: 41.25 kB / 0.9596 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4962, allocations: 3.156 kB / 0.9596 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4962, allocations: 4.938 kB / 0.9596 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4965, allocations: 54.05 kB / 0.9597 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4965, allocations: 8.812 kB / 0.9597 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.4968, allocations: 56.52 kB / 0.9597 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.4968, allocations: 20.45 kB / 0.9597 GB, free: 1.254 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.0001055/0.4969, allocations: 154.5 kB / 0.9599 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.497, allocations: 29.25 kB / 0.9599 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.497, allocations: 26.7 kB / 0.9599 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.497, allocations: 3.031 kB / 0.9599 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.497, allocations: 1.219 kB / 0.9599 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4971, allocations: 1.219 kB / 0.9599 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.4973, allocations: 329.4 kB / 0.9603 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4973, allocations: 1.125 kB / 0.9603 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.4975, allocations: 34.91 kB / 0.9603 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4975, allocations: 2.812 kB / 0.9603 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4975, allocations: 14.3 kB / 0.9603 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4975, allocations: 1.5 kB / 0.9603 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4975, allocations: 1.188 kB / 0.9603 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.4981, allocations: 273.6 kB / 0.9606 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.4981, allocations: 98.89 kB / 0.9607 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.4982, allocations: 10.64 kB / 0.9607 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4983, allocations: 16.3 kB / 0.9607 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.4984, allocations: 40.45 kB / 0.9607 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.4984, allocations: 6.25 kB / 0.9607 GB, free: 424 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.659e-05/0.4985, allocations: 153.5 kB / 0.9609 GB, free: 308 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4985, allocations: 0 / 0.9609 GB, free: 308 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002747/0.4988, allocations: 64.53 kB / 0.9609 GB, free: 288 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.0008381/0.4997, allocations: 0.8265 MB / 0.9618 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.5004, allocations: 321.8 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5004, allocations: 3.938 kB / 0.9621 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.5007, allocations: 112.2 kB / 0.9622 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.501, allocations: 46.78 kB / 0.9622 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.5043, allocations: 2.556 MB / 0.9647 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.5045, allocations: 0.7591 MB / 0.9655 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.5047, allocations: 39.22 kB / 0.9655 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5048, allocations: 97.67 kB / 0.9656 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5049, allocations: 0 / 0.9656 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.5252, allocations: 5.668 MB / 0.9711 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.278, allocations: 5.469 kB / 0.9711 GB, free: 9.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_SeriesFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches