Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.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.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan",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.001133/0.001133, 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.001108/0.001108, allocations: 193.3 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.357/1.357, 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 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5709, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.7879/1.359, allocations: 312.7 MB / 1.323 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02663/1.386, allocations: 29.37 MB / 1.351 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/1.388, allocations: 84.34 kB / 1.352 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008183/1.396, allocations: 4.88 MB / 1.356 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006846/1.403, allocations: 3.04 MB / 1.359 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005527/1.409, allocations: 2.624 MB / 1.362 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008574/1.417, allocations: 7.403 MB / 1.369 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/1.42, allocations: 2.055 MB / 1.371 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/1.424, allocations: 2.362 MB / 1.373 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/1.426, allocations: 1.483 MB / 1.375 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003565/1.427, allocations: 246.2 kB / 1.375 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/1.433, allocations: 3.592 MB / 1.379 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007048/1.433, allocations: 0.8104 MB / 1.379 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/1.435, allocations: 1.386 MB / 1.381 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007231/1.442, allocations: 5.317 MB / 1.386 GB, free: 13.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.442, allocations: 0 / 1.386 GB, free: 13.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.442, allocations: 0 / 1.386 GB, free: 13.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.22e-05/1.442, allocations: 0 / 1.386 GB, free: 13.52 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004528/1.447, allocations: 2.912 MB / 1.389 GB, free: 11.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.447, allocations: 11.2 kB / 1.389 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002151/1.447, allocations: 196.3 kB / 1.389 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/1.453, allocations: 0.9364 MB / 1.39 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00925/1.462, allocations: 5.619 MB / 1.395 GB, free: 7.082 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/1.463, allocations: 158.6 kB / 1.395 GB, free: 7.012 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.463, allocations: 135.4 kB / 1.396 GB, free: 6.969 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/1.466, allocations: 1.595 MB / 1.397 GB, free: 5.973 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/1.466, allocations: 0 / 1.397 GB, free: 5.973 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/1.466, allocations: 57.66 kB / 1.397 GB, free: 5.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/1.466, allocations: 50.31 kB / 1.397 GB, free: 5.922 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/1.469, allocations: 1.336 MB / 1.399 GB, free: 5.254 MB / 1.014 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.009545/1.479, allocations: 7.684 MB / 1.406 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/1.481, allocations: 0.6791 MB / 1.407 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006304/1.481, allocations: 258.2 kB / 1.407 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/1.481, allocations: 186.4 kB / 1.407 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.481, allocations: 42.55 kB / 1.407 GB, free: 13.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 2.465e-06/1.482, allocations: 2.875 kB / 1.407 GB, free: 13.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.002667/1.484, allocations: 1.045 MB / 1.408 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.484, allocations: 55.91 kB / 1.408 GB, free: 13.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/1.487, allocations: 2.367 MB / 1.411 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/1.487, allocations: 29.7 kB / 1.411 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007588/1.488, allocations: 0.9643 MB / 1.412 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.488, allocations: 126.3 kB / 1.412 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/1.489, allocations: 257.4 kB / 1.412 GB, free: 9.684 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.489, allocations: 353.9 kB / 1.412 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.49, allocations: 0.5165 MB / 1.413 GB, free: 8.812 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/1.491, allocations: 0.7918 MB / 1.414 GB, free: 7.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/1.493, allocations: 1.132 MB / 1.415 GB, free: 6.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.493, allocations: 0 / 1.415 GB, free: 6.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003289/1.497, allocations: 1.638 MB / 1.416 GB, free: 5.082 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.497, allocations: 8 kB / 1.416 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.497, allocations: 8.375 kB / 1.416 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/1.497, allocations: 36.84 kB / 1.416 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.498, allocations: 245.3 kB / 1.417 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/1.499, allocations: 1.573 MB / 1.418 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.501, allocations: 246.6 kB / 1.418 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/1.501, allocations: 47.98 kB / 1.418 GB, free: 2.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001882/1.503, allocations: 1.018 MB / 1.419 GB, free: 1.789 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001317/1.504, allocations: 0.78 MB / 1.42 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001876/1.506, allocations: 1.109 MB / 1.421 GB, free: 15.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/1.506, allocations: 4 kB / 1.421 GB, free: 15.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003159/1.509, allocations: 1.612 MB / 1.423 GB, free: 14.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.509, allocations: 8 kB / 1.423 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.509, allocations: 11.94 kB / 1.423 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.722e-05/1.509, allocations: 36.84 kB / 1.423 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.51, allocations: 236.2 kB / 1.423 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009982/1.512, allocations: 1.581 MB / 1.425 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.513, allocations: 167.9 kB / 1.425 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/1.513, allocations: 39.98 kB / 1.425 GB, free: 11.93 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002492/1.514, allocations: 234.7 kB / 1.425 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003285/1.514, allocations: 205.3 kB / 1.425 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.516, allocations: 0.7697 MB / 1.426 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.516, allocations: 4 kB / 1.426 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.516, allocations: 0 / 1.426 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.516, allocations: 3.984 kB / 1.426 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/1.52, allocations: 2.154 MB / 1.428 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.52, allocations: 0 / 1.428 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/1.52, allocations: 103 kB / 1.428 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.102e-05/1.521, allocations: 28.83 kB / 1.428 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/1.521, allocations: 8 kB / 1.428 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009334/1.521, allocations: 1.558 MB / 1.43 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.522, allocations: 11.95 kB / 1.43 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/1.523, allocations: 0.8804 MB / 1.431 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/1.524, allocations: 358.2 kB / 1.431 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/1.524, allocations: 11.94 kB / 1.431 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.525, allocations: 71.92 kB / 1.431 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/1.525, allocations: 23.97 kB / 1.431 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/1.525, allocations: 19.98 kB / 1.431 GB, free: 5.195 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002901/1.528, allocations: 1.643 MB / 1.433 GB, free: 3.543 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.11e-07/1.528, allocations: 0 / 1.433 GB, free: 3.543 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002466/1.531, allocations: 0.8969 MB / 1.434 GB, free: 2.645 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002705/1.533, allocations: 1.777 MB / 1.435 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004012/1.538, allocations: 1.842 MB / 1.437 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.538, allocations: 0 / 1.437 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007122/1.538, allocations: 349.8 kB / 1.437 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/1.543, allocations: 1.262 MB / 1.439 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/1.568, allocations: 16.49 MB / 1.455 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.569, allocations: 1.537 MB / 1.456 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00229/1.571, allocations: 465.9 kB / 1.457 GB, free: 9.809 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.573, allocations: 0.8 MB / 1.457 GB, free: 9.012 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.573, allocations: 0 / 1.457 GB, free: 9.012 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09981/1.672, allocations: 57.95 MB / 1.514 GB, free: 15.77 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.964/11.64, allocations: 19.41 kB / 1.514 GB, free: 15.75 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches