Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_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.001332/0.001332, 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.001343/0.001343, allocations: 197 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.525/2.525, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5805/0.582, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7718/1.354, allocations: 304.8 MB / 1.315 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0284/1.382, allocations: 27.46 MB / 1.342 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/1.385, allocations: 78.19 kB / 1.342 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008186/1.393, allocations: 4.708 MB / 1.347 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006526/1.4, allocations: 2.926 MB / 1.349 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00581/1.406, allocations: 2.608 MB / 1.352 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008541/1.414, allocations: 7.124 MB / 1.359 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/1.417, allocations: 1.792 MB / 1.361 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/1.421, allocations: 2.227 MB / 1.363 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/1.424, allocations: 1.293 MB / 1.364 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000468/1.424, allocations: 212 kB / 1.364 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005555/1.43, allocations: 3.196 MB / 1.367 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007664/1.43, allocations: 0.7471 MB / 1.368 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/1.432, allocations: 1.25 MB / 1.369 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005493/1.437, allocations: 4.823 MB / 1.374 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.437, allocations: 0 / 1.374 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/1.437, allocations: 0 / 1.374 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.29e-05/1.437, allocations: 1.219 kB / 1.374 GB, free: 0.7695 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003629/1.441, allocations: 2.716 MB / 1.377 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/1.441, allocations: 14.7 kB / 1.377 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/1.441, allocations: 162.9 kB / 1.377 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/1.445, allocations: 0.7225 MB / 1.378 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008598/1.454, allocations: 5.525 MB / 1.383 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/1.455, allocations: 145.8 kB / 1.383 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.455, allocations: 116.4 kB / 1.383 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/1.457, allocations: 1.41 MB / 1.385 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.457, allocations: 4.969 kB / 1.385 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/1.457, allocations: 54.56 kB / 1.385 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/1.457, allocations: 37.94 kB / 1.385 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/1.459, allocations: 0.9864 MB / 1.386 GB, free: 9.621 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.007831/1.467, allocations: 7.719 MB / 1.393 GB, free: 2.805 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008729/1.468, allocations: 368.6 kB / 1.394 GB, free: 2.562 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/1.469, allocations: 119.2 kB / 1.394 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/1.469, allocations: 189 kB / 1.394 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/1.469, allocations: 42.55 kB / 1.394 GB, free: 2.254 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/1.469, allocations: 2.469 kB / 1.394 GB, free: 2.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001461/1.47, allocations: 0.5154 MB / 1.394 GB, free: 1.984 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.47, allocations: 61.64 kB / 1.395 GB, free: 1.914 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/1.473, allocations: 2.279 MB / 1.397 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/1.473, allocations: 35.83 kB / 1.397 GB, free: 0.625 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/1.474, allocations: 0.9767 MB / 1.398 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/1.474, allocations: 76.12 kB / 1.398 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/1.475, allocations: 280.5 kB / 1.398 GB, free: 15.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.475, allocations: 354.8 kB / 1.398 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/1.476, allocations: 456 kB / 1.399 GB, free: 14.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/1.477, allocations: 0.9018 MB / 1.4 GB, free: 14.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.479, allocations: 1.222 MB / 1.401 GB, free: 13.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.479, allocations: 3.344 kB / 1.401 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00266/1.481, allocations: 1.513 MB / 1.402 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.481, allocations: 14.31 kB / 1.402 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.481, allocations: 18.12 kB / 1.402 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/1.481, allocations: 21.09 kB / 1.402 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008743/1.482, allocations: 252.1 kB / 1.403 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/1.482, allocations: 28.17 kB / 1.403 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.484, allocations: 214.3 kB / 1.403 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/1.484, allocations: 55.7 kB / 1.403 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001429/1.485, allocations: 0.9449 MB / 1.404 GB, free: 11.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001085/1.486, allocations: 0.8824 MB / 1.405 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001553/1.488, allocations: 1.204 MB / 1.406 GB, free: 9.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/1.488, allocations: 8 kB / 1.406 GB, free: 9.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002546/1.49, allocations: 1.495 MB / 1.407 GB, free: 8.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.49, allocations: 11.94 kB / 1.407 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.49, allocations: 16 kB / 1.407 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.491, allocations: 28 kB / 1.407 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/1.491, allocations: 240.8 kB / 1.408 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/1.491, allocations: 30.27 kB / 1.408 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.493, allocations: 143.7 kB / 1.408 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/1.493, allocations: 48 kB / 1.408 GB, free: 7.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002181/1.493, allocations: 249.2 kB / 1.408 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/1.493, allocations: 201.3 kB / 1.408 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/1.494, allocations: 172 kB / 1.408 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/1.494, allocations: 4 kB / 1.409 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.494, allocations: 0 / 1.409 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.494, allocations: 0 / 1.409 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/1.497, allocations: 1.874 MB / 1.41 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.497, allocations: 4 kB / 1.41 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.497, allocations: 46.88 kB / 1.41 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.497, allocations: 7.938 kB / 1.41 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.497, allocations: 15.98 kB / 1.41 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.497, allocations: 7.438 kB / 1.41 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.497, allocations: 8 kB / 1.41 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/1.498, allocations: 0.5705 MB / 1.411 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/1.498, allocations: 326.4 kB / 1.411 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/1.499, allocations: 15.98 kB / 1.411 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008246/1.499, allocations: 52.02 kB / 1.411 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/1.499, allocations: 27.11 kB / 1.411 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/1.499, allocations: 11.98 kB / 1.411 GB, free: 4.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002093/1.502, allocations: 1.551 MB / 1.413 GB, free: 2.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.502, allocations: 0 / 1.413 GB, free: 2.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002004/1.504, allocations: 0.8153 MB / 1.414 GB, free: 1.828 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.001926/1.506, allocations: 1.458 MB / 1.415 GB, free: 324 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002671/1.508, allocations: 1.446 MB / 1.417 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.508, allocations: 0 / 1.417 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/1.509, allocations: 126.7 kB / 1.417 GB, free: 14.85 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/1.513, allocations: 1.077 MB / 1.418 GB, free: 13.81 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.533, allocations: 15.24 MB / 1.433 GB, free: 13.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.534, allocations: 1.489 MB / 1.434 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001918/1.536, allocations: 461 kB / 1.434 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009143/1.537, allocations: 0.7258 MB / 1.435 GB, free: 10.62 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/1.537, allocations: 0 / 1.435 GB, free: 10.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08026/1.617, allocations: 51.57 MB / 1.486 GB, free: 7.695 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/9.823, allocations: 0 / 1.486 GB, free: 7.695 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches