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.006779/0.006779, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001602/0.001602, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.485/2.485, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 68.03 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7419, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3113/1.053, allocations: 312.7 MB / 1.472 GB, free: 9.902 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03795/1.091, allocations: 29.36 MB / 1.5 GB, free: 12.45 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/1.094, allocations: 79.62 kB / 1.5 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.006448/1.101, allocations: 2.417 MB / 1.503 GB, free: 9.949 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008113/1.109, allocations: 3.306 MB / 1.506 GB, free: 6.629 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00711/1.116, allocations: 2.776 MB / 1.509 GB, free: 3.859 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01105/1.127, allocations: 7.549 MB / 1.516 GB, free: 12.29 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/1.13, allocations: 2.095 MB / 1.518 GB, free: 10.15 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004847/1.135, allocations: 2.453 MB / 1.52 GB, free: 7.691 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/1.138, allocations: 1.531 MB / 1.522 GB, free: 6.16 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0006015/1.139, allocations: 256 kB / 1.522 GB, free: 5.91 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008102/1.147, allocations: 3.621 MB / 1.526 GB, free: 2.281 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/1.148, allocations: 0.8257 MB / 1.526 GB, free: 1.453 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002329/1.151, allocations: 1.392 MB / 1.528 GB, free: 56 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.008312/1.159, allocations: 5.459 MB / 1.533 GB, free: 10.58 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.159, allocations: 0 / 1.533 GB, free: 10.58 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.713e-06/1.159, allocations: 0 / 1.533 GB, free: 10.58 MB / 1.264 GB Notification: Performance of Transformations before backend: time 9.762e-05/1.159, allocations: 0 / 1.533 GB, free: 10.58 MB / 1.264 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.005988/1.165, allocations: 3.025 MB / 1.536 GB, free: 7.477 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.165, allocations: 8.625 kB / 1.536 GB, free: 7.469 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/1.165, allocations: 194.3 kB / 1.536 GB, free: 7.27 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006352/1.172, allocations: 0.9505 MB / 1.537 GB, free: 6.316 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/1.182, allocations: 5.756 MB / 1.543 GB, free: 0.5078 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.182, allocations: 102.6 kB / 1.543 GB, free: 416 kB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/1.183, allocations: 128 kB / 1.543 GB, free: 288 kB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/1.186, allocations: 1.593 MB / 1.545 GB, free: 14.62 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/1.186, allocations: 3.938 kB / 1.545 GB, free: 14.62 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/1.187, allocations: 52 kB / 1.545 GB, free: 14.57 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/1.187, allocations: 58.48 kB / 1.545 GB, free: 14.51 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/1.19, allocations: 1.325 MB / 1.546 GB, free: 13.18 MB / 1.279 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.0114/1.201, allocations: 7.619 MB / 1.553 GB, free: 5.027 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/1.203, allocations: 0.6795 MB / 1.554 GB, free: 4.324 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/1.204, allocations: 258.6 kB / 1.554 GB, free: 4.07 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/1.204, allocations: 186.8 kB / 1.555 GB, free: 3.852 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/1.204, allocations: 46.5 kB / 1.555 GB, free: 3.797 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.574e-06/1.204, allocations: 0 / 1.555 GB, free: 3.797 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002924/1.207, allocations: 1.051 MB / 1.556 GB, free: 2.699 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/1.207, allocations: 63.28 kB / 1.556 GB, free: 2.625 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/1.211, allocations: 2.361 MB / 1.558 GB, free: 252 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/1.211, allocations: 37.7 kB / 1.558 GB, free: 208 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.5149/1.726, allocations: 0.9679 MB / 1.559 GB, free: 390.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.726, allocations: 137.2 kB / 1.559 GB, free: 390.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/1.727, allocations: 257.5 kB / 1.559 GB, free: 390.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/1.727, allocations: 346.6 kB / 1.56 GB, free: 390.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/1.729, allocations: 0.518 MB / 1.56 GB, free: 389.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/1.73, allocations: 0.7849 MB / 1.561 GB, free: 389.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/1.733, allocations: 1.122 MB / 1.562 GB, free: 388.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.733, allocations: 2.062 kB / 1.562 GB, free: 388.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003683/1.736, allocations: 1.644 MB / 1.564 GB, free: 388.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.736, allocations: 12.36 kB / 1.564 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.736, allocations: 7.406 kB / 1.564 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/1.736, allocations: 35.75 kB / 1.564 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.738, allocations: 241.8 kB / 1.564 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008118/1.739, allocations: 1.568 MB / 1.565 GB, free: 386.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.74, allocations: 248.1 kB / 1.566 GB, free: 386.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/1.74, allocations: 43.88 kB / 1.566 GB, free: 386.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001779/1.742, allocations: 1.008 MB / 1.567 GB, free: 385.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001149/1.743, allocations: 0.7779 MB / 1.567 GB, free: 385.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001685/1.745, allocations: 1.105 MB / 1.569 GB, free: 384.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.745, allocations: 0 / 1.569 GB, free: 384.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003032/1.748, allocations: 1.617 MB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.748, allocations: 11.81 kB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.748, allocations: 7.812 kB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.56e-05/1.748, allocations: 36.38 kB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.749, allocations: 233.2 kB / 1.57 GB, free: 384 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007582/1.75, allocations: 1.576 MB / 1.572 GB, free: 382.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.752, allocations: 168.6 kB / 1.572 GB, free: 382.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/1.752, allocations: 47.67 kB / 1.572 GB, free: 382.4 MB / 1.279 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.0002481/1.752, allocations: 233.4 kB / 1.572 GB, free: 382.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/1.752, allocations: 210.3 kB / 1.573 GB, free: 382.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.754, allocations: 0.7545 MB / 1.573 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.754, allocations: 3.781 kB / 1.573 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.754, allocations: 2.875 kB / 1.573 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.754, allocations: 8.922 kB / 1.573 GB, free: 381.7 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/1.757, allocations: 2.164 MB / 1.575 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.757, allocations: 2.25 kB / 1.575 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/1.758, allocations: 94.41 kB / 1.576 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/1.758, allocations: 34.81 kB / 1.576 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/1.758, allocations: 16.61 kB / 1.576 GB, free: 380.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006675/1.759, allocations: 1.554 MB / 1.577 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.759, allocations: 6.344 kB / 1.577 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/1.76, allocations: 0.8928 MB / 1.578 GB, free: 378.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/1.761, allocations: 367 kB / 1.578 GB, free: 378.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.761, allocations: 7.469 kB / 1.578 GB, free: 378.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.762, allocations: 64.58 kB / 1.578 GB, free: 378.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/1.762, allocations: 30.59 kB / 1.578 GB, free: 378.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/1.762, allocations: 18.52 kB / 1.578 GB, free: 378.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002047/1.764, allocations: 1.642 MB / 1.58 GB, free: 377.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.91e-07/1.764, allocations: 0 / 1.58 GB, free: 377.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001899/1.766, allocations: 0.8952 MB / 1.581 GB, free: 376.7 MB / 1.279 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.002088/1.768, allocations: 1.801 MB / 1.583 GB, free: 375.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003247/1.772, allocations: 1.815 MB / 1.584 GB, free: 373.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.772, allocations: 0 / 1.584 GB, free: 373.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/1.772, allocations: 364.7 kB / 1.585 GB, free: 373.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/1.776, allocations: 1.241 MB / 1.586 GB, free: 372.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.794, allocations: 14.78 MB / 1.6 GB, free: 357.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/1.795, allocations: 1.537 MB / 1.602 GB, free: 355.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001618/1.797, allocations: 474.9 kB / 1.602 GB, free: 355.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/1.797, allocations: 0.7945 MB / 1.603 GB, free: 354.3 MB / 1.279 GB Notification: Performance of SimCode: time 8.31e-07/1.797, allocations: 0 / 1.603 GB, free: 354.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.077/1.874, allocations: 56.23 MB / 1.658 GB, free: 298.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/15.26, allocations: 15.94 kB / 1.658 GB, free: 298.6 MB / 1.279 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