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.008076/0.008076, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001892/0.001892, allocations: 196.8 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.601/2.601, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.84 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2465, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9456/1.192, allocations: 312.7 MB / 1.472 GB, free: 11.83 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03592/1.228, allocations: 29.35 MB / 1.5 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/1.231, allocations: 79.62 kB / 1.5 GB, free: 14.31 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006215/1.237, allocations: 2.388 MB / 1.503 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007775/1.245, allocations: 3.18 MB / 1.506 GB, free: 8.719 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006366/1.251, allocations: 2.756 MB / 1.508 GB, free: 5.969 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01072/1.262, allocations: 7.541 MB / 1.516 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003256/1.265, allocations: 2.093 MB / 1.518 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/1.27, allocations: 2.386 MB / 1.52 GB, free: 9.891 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/1.273, allocations: 1.53 MB / 1.522 GB, free: 8.359 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005703/1.274, allocations: 260 kB / 1.522 GB, free: 8.105 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00658/1.28, allocations: 3.594 MB / 1.525 GB, free: 4.504 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/1.281, allocations: 0.8335 MB / 1.526 GB, free: 3.668 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002116/1.283, allocations: 1.388 MB / 1.528 GB, free: 2.273 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007999/1.291, allocations: 5.442 MB / 1.533 GB, free: 12.82 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.291, allocations: 0 / 1.533 GB, free: 12.82 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.472e-06/1.291, allocations: 0 / 1.533 GB, free: 12.82 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.79e-05/1.292, allocations: 0 / 1.533 GB, free: 12.82 MB / 1.201 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.005694/1.297, allocations: 2.941 MB / 1.536 GB, free: 9.805 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.297, allocations: 8.031 kB / 1.536 GB, free: 9.797 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/1.298, allocations: 190.3 kB / 1.536 GB, free: 9.602 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/1.304, allocations: 0.9336 MB / 1.537 GB, free: 8.664 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/1.314, allocations: 5.74 MB / 1.542 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.314, allocations: 106.6 kB / 1.543 GB, free: 2.766 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/1.314, allocations: 132 kB / 1.543 GB, free: 2.637 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/1.318, allocations: 1.593 MB / 1.544 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/1.318, allocations: 7.938 kB / 1.544 GB, free: 0.9688 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.318, allocations: 55.98 kB / 1.544 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/1.318, allocations: 46.5 kB / 1.544 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/1.322, allocations: 1.325 MB / 1.546 GB, free: 15.53 MB / 1.217 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.01127/1.333, allocations: 7.609 MB / 1.553 GB, free: 7.395 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/1.335, allocations: 0.6722 MB / 1.554 GB, free: 6.695 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/1.336, allocations: 252.7 kB / 1.554 GB, free: 6.445 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/1.336, allocations: 202.1 kB / 1.554 GB, free: 6.211 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.336, allocations: 34.56 kB / 1.554 GB, free: 6.168 MB / 1.217 GB Notification: Performance of pre-optimization done (n=35): time 2.344e-06/1.336, allocations: 0 / 1.554 GB, free: 6.168 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.002981/1.339, allocations: 1.043 MB / 1.555 GB, free: 5.078 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/1.339, allocations: 59.34 kB / 1.555 GB, free: 5.008 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003992/1.343, allocations: 2.364 MB / 1.558 GB, free: 2.625 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/1.343, allocations: 33.7 kB / 1.558 GB, free: 2.586 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/1.344, allocations: 0.9574 MB / 1.559 GB, free: 1.617 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/1.344, allocations: 138.2 kB / 1.559 GB, free: 1.48 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/1.344, allocations: 250.3 kB / 1.559 GB, free: 1.227 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.345, allocations: 353.9 kB / 1.559 GB, free: 0.875 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/1.346, allocations: 0.5165 MB / 1.56 GB, free: 364 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.347, allocations: 0.7854 MB / 1.561 GB, free: 15.45 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/1.349, allocations: 1.124 MB / 1.562 GB, free: 14.23 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.35, allocations: 0 / 1.562 GB, free: 14.23 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003419/1.353, allocations: 1.632 MB / 1.563 GB, free: 12.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.353, allocations: 8 kB / 1.563 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.353, allocations: 12 kB / 1.563 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/1.353, allocations: 37.22 kB / 1.563 GB, free: 12.51 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.354, allocations: 243.7 kB / 1.563 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/1.356, allocations: 1.568 MB / 1.565 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.357, allocations: 246 kB / 1.565 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/1.358, allocations: 43.98 kB / 1.565 GB, free: 10.28 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001924/1.359, allocations: 1.01 MB / 1.566 GB, free: 9.266 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00136/1.361, allocations: 0.7853 MB / 1.567 GB, free: 8.363 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001984/1.363, allocations: 1.104 MB / 1.568 GB, free: 7.16 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/1.363, allocations: 7.984 kB / 1.568 GB, free: 7.152 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003218/1.366, allocations: 1.596 MB / 1.57 GB, free: 5.527 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.366, allocations: 12.03 kB / 1.57 GB, free: 5.516 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.366, allocations: 8 kB / 1.57 GB, free: 5.508 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.22e-05/1.366, allocations: 32.84 kB / 1.57 GB, free: 5.473 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.367, allocations: 235.7 kB / 1.57 GB, free: 5.242 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/1.368, allocations: 1.564 MB / 1.571 GB, free: 3.539 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.37, allocations: 167.4 kB / 1.572 GB, free: 3.375 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/1.37, allocations: 40 kB / 1.572 GB, free: 3.336 MB / 1.232 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.0002383/1.37, allocations: 231.9 kB / 1.572 GB, free: 3.105 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/1.371, allocations: 209.2 kB / 1.572 GB, free: 2.898 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/1.373, allocations: 0.759 MB / 1.573 GB, free: 2.105 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.373, allocations: 4.062 kB / 1.573 GB, free: 2.102 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.373, allocations: 8 kB / 1.573 GB, free: 2.094 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.373, allocations: 0 / 1.573 GB, free: 2.094 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/1.376, allocations: 2.171 MB / 1.575 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.376, allocations: 0 / 1.575 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/1.377, allocations: 91.88 kB / 1.575 GB, free: 15.73 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.493e-05/1.377, allocations: 28.84 kB / 1.575 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/1.377, allocations: 16.02 kB / 1.575 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/1.378, allocations: 1.552 MB / 1.577 GB, free: 13.99 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.378, allocations: 4.031 kB / 1.577 GB, free: 13.99 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/1.38, allocations: 0.8932 MB / 1.578 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/1.38, allocations: 358.4 kB / 1.578 GB, free: 12.66 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/1.381, allocations: 19.86 kB / 1.578 GB, free: 12.64 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.382, allocations: 59.94 kB / 1.578 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/1.382, allocations: 31.91 kB / 1.578 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/1.382, allocations: 19.98 kB / 1.578 GB, free: 12.54 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002532/1.385, allocations: 1.639 MB / 1.58 GB, free: 10.89 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.31e-07/1.385, allocations: 0 / 1.58 GB, free: 10.89 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002243/1.387, allocations: 0.893 MB / 1.58 GB, free: 9.992 MB / 1.248 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.002684/1.389, allocations: 1.764 MB / 1.582 GB, free: 8.152 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003921/1.393, allocations: 1.834 MB / 1.584 GB, free: 6.297 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.393, allocations: 0 / 1.584 GB, free: 6.297 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/1.394, allocations: 351 kB / 1.584 GB, free: 5.941 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004895/1.399, allocations: 1.247 MB / 1.586 GB, free: 4.723 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/1.424, allocations: 14.7 MB / 1.6 GB, free: 5.57 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.425, allocations: 1.537 MB / 1.601 GB, free: 3.996 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001887/1.427, allocations: 469.9 kB / 1.602 GB, free: 3.535 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.428, allocations: 0.7999 MB / 1.603 GB, free: 2.734 MB / 1.264 GB Notification: Performance of SimCode: time 1.092e-06/1.428, allocations: 0 / 1.603 GB, free: 2.734 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.529, allocations: 56.24 MB / 1.658 GB, free: 11.15 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.69, allocations: 15.91 kB / 1.658 GB, free: 11.13 MB / 1.326 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