Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.007799/0.007799, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.002042/0.002043, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.16 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2236, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7671/0.9907, allocations: 304.4 MB / 1.385 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03004/1.021, allocations: 25.62 MB / 1.41 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/1.024, allocations: 77.72 kB / 1.41 GB, free: 10 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003546/1.027, allocations: 1.412 MB / 1.411 GB, free: 9.562 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00695/1.034, allocations: 2.891 MB / 1.414 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/1.04, allocations: 2.635 MB / 1.417 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004942/1.045, allocations: 4.334 MB / 1.421 GB, free: 3.375 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/1.047, allocations: 1.786 MB / 1.423 GB, free: 2.234 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/1.051, allocations: 2.248 MB / 1.425 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/1.053, allocations: 1.279 MB / 1.426 GB, free: 40 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/1.053, allocations: 202.9 kB / 1.426 GB, free: 40 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005059/1.058, allocations: 3.032 MB / 1.429 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000606/1.059, allocations: 0.6163 MB / 1.43 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/1.06, allocations: 1.065 MB / 1.431 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005422/1.065, allocations: 4.224 MB / 1.435 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.065, allocations: 0 / 1.435 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/1.065, allocations: 0 / 1.435 GB, free: 10.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.618e-05/1.065, allocations: 0 / 1.435 GB, free: 10.29 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.003449/1.069, allocations: 2.302 MB / 1.437 GB, free: 8.539 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/1.069, allocations: 14.16 kB / 1.437 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/1.069, allocations: 164.1 kB / 1.437 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/1.073, allocations: 0.6755 MB / 1.438 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/1.077, allocations: 2.027 MB / 1.44 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/1.077, allocations: 86.92 kB / 1.44 GB, free: 6.484 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/1.077, allocations: 112.3 kB / 1.44 GB, free: 6.449 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/1.08, allocations: 1.447 MB / 1.442 GB, free: 4.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/1.08, allocations: 3.938 kB / 1.442 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.08, allocations: 44 kB / 1.442 GB, free: 4.844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/1.08, allocations: 46 kB / 1.442 GB, free: 4.801 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/1.083, allocations: 1.108 MB / 1.443 GB, free: 3.691 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007942/1.091, allocations: 7.496 MB / 1.45 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/1.093, allocations: 475.6 kB / 1.451 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/1.093, allocations: 152.7 kB / 1.451 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/1.093, allocations: 190.2 kB / 1.451 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/1.093, allocations: 42.5 kB / 1.451 GB, free: 10.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/1.093, allocations: 0 / 1.451 GB, free: 10.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001981/1.095, allocations: 0.5873 MB / 1.452 GB, free: 10.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/1.095, allocations: 59.41 kB / 1.452 GB, free: 10.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/1.098, allocations: 1.748 MB / 1.453 GB, free: 8.422 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/1.098, allocations: 29.7 kB / 1.453 GB, free: 8.387 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006757/1.099, allocations: 0.8444 MB / 1.454 GB, free: 7.535 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/1.099, allocations: 79.02 kB / 1.454 GB, free: 7.457 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/1.099, allocations: 182.3 kB / 1.454 GB, free: 7.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.099, allocations: 341.9 kB / 1.455 GB, free: 6.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/1.1, allocations: 312.7 kB / 1.455 GB, free: 6.621 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.101, allocations: 0.7155 MB / 1.456 GB, free: 5.699 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/1.103, allocations: 0.9258 MB / 1.457 GB, free: 4.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.103, allocations: 8 kB / 1.457 GB, free: 4.582 MB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002539/1.105, allocations: 1.097 MB / 1.458 GB, free: 3.477 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.106, allocations: 12 kB / 1.458 GB, free: 3.465 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.106, allocations: 12.84 kB / 1.458 GB, free: 3.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.106, allocations: 20 kB / 1.458 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/1.106, allocations: 215.6 kB / 1.458 GB, free: 3.223 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/1.106, allocations: 29.48 kB / 1.458 GB, free: 3.195 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.108, allocations: 203.2 kB / 1.458 GB, free: 2.996 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/1.108, allocations: 47.98 kB / 1.458 GB, free: 2.949 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00119/1.109, allocations: 0.6463 MB / 1.459 GB, free: 2.301 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009642/1.11, allocations: 0.6841 MB / 1.46 GB, free: 1.418 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/1.112, allocations: 0.8699 MB / 1.46 GB, free: 372 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/1.112, allocations: 8 kB / 1.46 GB, free: 364 kB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002169/1.114, allocations: 1.027 MB / 1.461 GB, free: 15.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.114, allocations: 12 kB / 1.461 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.114, allocations: 12 kB / 1.461 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.114, allocations: 20 kB / 1.461 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/1.115, allocations: 199.8 kB / 1.462 GB, free: 15.08 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.115, allocations: 27.88 kB / 1.462 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.116, allocations: 144 kB / 1.462 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/1.116, allocations: 43.98 kB / 1.462 GB, free: 14.87 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 1 * 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.0001834/1.116, allocations: 239.9 kB / 1.462 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.116, allocations: 158 kB / 1.462 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/1.118, allocations: 479.2 kB / 1.463 GB, free: 14 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.118, allocations: 4 kB / 1.463 GB, free: 13.99 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.118, allocations: 0 / 1.463 GB, free: 13.99 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.118, allocations: 0 / 1.463 GB, free: 13.99 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/1.12, allocations: 1.623 MB / 1.464 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.12, allocations: 0 / 1.464 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/1.121, allocations: 59.89 kB / 1.464 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/1.121, allocations: 0 / 1.464 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/1.121, allocations: 15.98 kB / 1.464 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.121, allocations: 0 / 1.464 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.121, allocations: 12.03 kB / 1.464 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.122, allocations: 0.6025 MB / 1.465 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/1.123, allocations: 291 kB / 1.465 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.123, allocations: 16.05 kB / 1.465 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/1.124, allocations: 55.94 kB / 1.465 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/1.124, allocations: 15.98 kB / 1.465 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/1.124, allocations: 19.97 kB / 1.465 GB, free: 11.12 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001758/1.126, allocations: 1.214 MB / 1.466 GB, free: 9.883 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.593e-06/1.126, allocations: 0 / 1.466 GB, free: 9.883 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001802/1.127, allocations: 0.6823 MB / 1.467 GB, free: 9.199 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001987/1.129, allocations: 1.344 MB / 1.468 GB, free: 7.805 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002676/1.132, allocations: 1.017 MB / 1.469 GB, free: 6.793 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.132, allocations: 4 kB / 1.469 GB, free: 6.789 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/1.133, allocations: 152.8 kB / 1.47 GB, free: 6.641 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.136, allocations: 0.8557 MB / 1.47 GB, free: 5.801 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.154, allocations: 10.93 MB / 1.481 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/1.155, allocations: 1.291 MB / 1.482 GB, free: 8.934 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001366/1.156, allocations: 370 kB / 1.483 GB, free: 8.566 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007557/1.157, allocations: 0.593 MB / 1.483 GB, free: 7.977 MB / 1.107 GB Notification: Performance of SimCode: time 8.92e-07/1.157, allocations: 0 / 1.483 GB, free: 7.977 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06655/1.224, allocations: 42.07 MB / 1.524 GB, free: 14.32 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.43, allocations: 15.94 kB / 1.524 GB, free: 14.3 MB / 1.154 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches