Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_11_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.004455/0.004455, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001303/0.001303, allocations: 192.5 kB / 16.67 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 64.12 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2863, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8635/1.15, allocations: 304.9 MB / 1.518 GB, free: 4.41 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03606/1.186, allocations: 27.46 MB / 1.545 GB, free: 8.879 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/1.188, allocations: 79.62 kB / 1.545 GB, free: 8.801 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005582/1.194, allocations: 2.229 MB / 1.547 GB, free: 6.566 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007719/1.202, allocations: 3.061 MB / 1.55 GB, free: 3.492 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00636/1.208, allocations: 2.747 MB / 1.553 GB, free: 0.75 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01068/1.219, allocations: 7.261 MB / 1.56 GB, free: 9.477 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/1.221, allocations: 1.825 MB / 1.561 GB, free: 7.609 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/1.226, allocations: 2.246 MB / 1.564 GB, free: 5.355 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/1.228, allocations: 1.356 MB / 1.565 GB, free: 4 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003169/1.228, allocations: 216 kB / 1.565 GB, free: 3.789 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006049/1.234, allocations: 3.212 MB / 1.568 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008014/1.235, allocations: 0.7634 MB / 1.569 GB, free: 15.8 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/1.236, allocations: 1.26 MB / 1.57 GB, free: 14.54 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006937/1.243, allocations: 4.945 MB / 1.575 GB, free: 9.578 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.243, allocations: 0 / 1.575 GB, free: 9.578 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.313e-06/1.243, allocations: 0 / 1.575 GB, free: 9.578 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.375e-05/1.243, allocations: 0 / 1.575 GB, free: 9.578 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004603/1.248, allocations: 2.821 MB / 1.578 GB, free: 6.68 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.248, allocations: 8.031 kB / 1.578 GB, free: 6.672 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/1.248, allocations: 168.9 kB / 1.578 GB, free: 6.496 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/1.253, allocations: 0.7244 MB / 1.579 GB, free: 5.77 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/1.263, allocations: 5.67 MB / 1.584 GB, free: 48 kB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.263, allocations: 86.25 kB / 1.584 GB, free: 15.96 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.263, allocations: 112 kB / 1.584 GB, free: 15.85 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/1.266, allocations: 1.402 MB / 1.586 GB, free: 14.3 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/1.266, allocations: 4 kB / 1.586 GB, free: 14.3 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.266, allocations: 48 kB / 1.586 GB, free: 14.25 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/1.266, allocations: 41.94 kB / 1.586 GB, free: 14.21 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/1.269, allocations: 0.9795 MB / 1.587 GB, free: 13.23 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.009046/1.278, allocations: 7.674 MB / 1.594 GB, free: 5.156 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/1.279, allocations: 375.7 kB / 1.595 GB, free: 4.762 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/1.279, allocations: 126.3 kB / 1.595 GB, free: 4.637 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/1.279, allocations: 182.2 kB / 1.595 GB, free: 4.422 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.279, allocations: 42.56 kB / 1.595 GB, free: 4.371 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/1.279, allocations: 0 / 1.595 GB, free: 4.371 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.001566/1.281, allocations: 0.5334 MB / 1.596 GB, free: 3.832 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.281, allocations: 55.41 kB / 1.596 GB, free: 3.766 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/1.284, allocations: 2.284 MB / 1.598 GB, free: 1.461 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/1.284, allocations: 33.7 kB / 1.598 GB, free: 1.422 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009525/1.285, allocations: 0.9881 MB / 1.599 GB, free: 432 kB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/1.285, allocations: 83.42 kB / 1.599 GB, free: 348 kB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/1.286, allocations: 282.4 kB / 1.599 GB, free: 56 kB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.286, allocations: 353.9 kB / 1.6 GB, free: 15.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009882/1.287, allocations: 456.9 kB / 1.6 GB, free: 15.25 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.288, allocations: 0.8919 MB / 1.601 GB, free: 14.15 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/1.29, allocations: 1.212 MB / 1.602 GB, free: 12.75 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.29, allocations: 4 kB / 1.602 GB, free: 12.75 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002891/1.293, allocations: 1.523 MB / 1.604 GB, free: 11.22 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.293, allocations: 8.969 kB / 1.604 GB, free: 11.21 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.293, allocations: 16 kB / 1.604 GB, free: 11.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.982e-05/1.293, allocations: 24 kB / 1.604 GB, free: 11.17 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/1.294, allocations: 247.5 kB / 1.604 GB, free: 10.93 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/1.294, allocations: 31.86 kB / 1.604 GB, free: 10.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.296, allocations: 218.6 kB / 1.604 GB, free: 10.68 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/1.296, allocations: 51.98 kB / 1.604 GB, free: 10.63 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001611/1.297, allocations: 0.9278 MB / 1.605 GB, free: 9.699 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001285/1.299, allocations: 0.8958 MB / 1.606 GB, free: 8.594 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001789/1.3, allocations: 1.193 MB / 1.607 GB, free: 7.207 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.846e-06/1.3, allocations: 4 kB / 1.607 GB, free: 7.203 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002695/1.303, allocations: 1.498 MB / 1.609 GB, free: 5.699 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.303, allocations: 8 kB / 1.609 GB, free: 5.691 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/1.303, allocations: 20 kB / 1.609 GB, free: 5.672 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.303, allocations: 24.75 kB / 1.609 GB, free: 5.648 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/1.304, allocations: 243.6 kB / 1.609 GB, free: 5.41 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/1.304, allocations: 31.86 kB / 1.609 GB, free: 5.379 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.305, allocations: 135.4 kB / 1.609 GB, free: 5.246 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.633e-05/1.305, allocations: 55.94 kB / 1.609 GB, free: 5.191 MB / 1.295 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.0002352/1.306, allocations: 247.1 kB / 1.609 GB, free: 4.945 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/1.306, allocations: 210.6 kB / 1.609 GB, free: 4.738 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/1.306, allocations: 164 kB / 1.61 GB, free: 4.574 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.306, allocations: 4 kB / 1.61 GB, free: 4.57 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.306, allocations: 0 / 1.61 GB, free: 4.57 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.306, allocations: 11.86 kB / 1.61 GB, free: 4.559 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/1.309, allocations: 1.858 MB / 1.611 GB, free: 2.586 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.31, allocations: 4 kB / 1.611 GB, free: 2.582 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/1.31, allocations: 52.27 kB / 1.612 GB, free: 2.531 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/1.31, allocations: 12 kB / 1.612 GB, free: 2.52 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.31, allocations: 8 kB / 1.612 GB, free: 2.512 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/1.31, allocations: 7.938 kB / 1.612 GB, free: 2.504 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/1.31, allocations: 15.92 kB / 1.612 GB, free: 2.488 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.311, allocations: 0.5836 MB / 1.612 GB, free: 1.832 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/1.311, allocations: 335.5 kB / 1.612 GB, free: 1.484 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/1.312, allocations: 8 kB / 1.612 GB, free: 1.477 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007989/1.312, allocations: 55.94 kB / 1.613 GB, free: 1.422 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/1.313, allocations: 27.86 kB / 1.613 GB, free: 1.395 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/1.313, allocations: 11.94 kB / 1.613 GB, free: 1.383 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002358/1.315, allocations: 1.551 MB / 1.614 GB, free: 15.82 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.91e-07/1.315, allocations: 0 / 1.614 GB, free: 15.82 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002037/1.317, allocations: 0.8231 MB / 1.615 GB, free: 15 MB / 1.311 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.002142/1.319, allocations: 1.466 MB / 1.616 GB, free: 13.45 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002932/1.322, allocations: 1.436 MB / 1.618 GB, free: 12.02 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.322, allocations: 0.5 kB / 1.618 GB, free: 12.02 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/1.322, allocations: 124.6 kB / 1.618 GB, free: 11.89 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004144/1.327, allocations: 1.075 MB / 1.619 GB, free: 10.85 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/1.348, allocations: 13.75 MB / 1.632 GB, free: 12.42 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.349, allocations: 1.489 MB / 1.634 GB, free: 10.9 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001687/1.351, allocations: 457 kB / 1.634 GB, free: 10.45 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.352, allocations: 0.7297 MB / 1.635 GB, free: 9.719 MB / 1.326 GB Notification: Performance of SimCode: time 6.52e-07/1.352, allocations: 4 kB / 1.635 GB, free: 9.715 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09684/1.449, allocations: 51.83 MB / 1.686 GB, free: 6.449 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.65, allocations: 5.609 kB / 1.686 GB, free: 6.445 MB / 1.373 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches