Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_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.005091/0.005091, allocations: 99.06 kB / 15.73 MB, free: 6.492 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.001514/0.001514, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 482.4 MB / 0.7548 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.81 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2699, allocations: 162.2 MB / 1.241 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8186/1.089, allocations: 305 MB / 1.539 GB, free: 6.379 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03506/1.124, allocations: 27.45 MB / 1.566 GB, free: 10.85 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/1.126, allocations: 87.56 kB / 1.566 GB, free: 10.76 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005171/1.131, allocations: 2.224 MB / 1.568 GB, free: 8.531 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.006501/1.137, allocations: 3.069 MB / 1.571 GB, free: 5.449 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006031/1.144, allocations: 2.757 MB / 1.574 GB, free: 2.699 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.008948/1.152, allocations: 7.058 MB / 1.581 GB, free: 11.63 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/1.155, allocations: 1.832 MB / 1.583 GB, free: 9.758 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/1.159, allocations: 2.383 MB / 1.585 GB, free: 7.367 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/1.161, allocations: 1.33 MB / 1.586 GB, free: 6.039 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000306/1.161, allocations: 220 kB / 1.587 GB, free: 5.824 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/1.167, allocations: 3.204 MB / 1.59 GB, free: 2.613 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0007415/1.167, allocations: 0.7634 MB / 1.59 GB, free: 1.848 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/1.169, allocations: 1.264 MB / 1.592 GB, free: 0.5781 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005949/1.174, allocations: 4.953 MB / 1.596 GB, free: 11.61 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/1.174, allocations: 0 / 1.596 GB, free: 11.61 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.372e-06/1.175, allocations: 4 kB / 1.596 GB, free: 11.61 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.175, allocations: 4 kB / 1.596 GB, free: 11.6 MB / 1.295 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.004262/1.179, allocations: 2.819 MB / 1.599 GB, free: 8.707 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/1.179, allocations: 15.98 kB / 1.599 GB, free: 8.691 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000203/1.179, allocations: 164.9 kB / 1.599 GB, free: 8.52 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/1.183, allocations: 0.7322 MB / 1.6 GB, free: 7.785 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009796/1.193, allocations: 5.659 MB / 1.606 GB, free: 2.074 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/1.193, allocations: 94.06 kB / 1.606 GB, free: 1.98 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/1.193, allocations: 112 kB / 1.606 GB, free: 1.871 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/1.196, allocations: 1.402 MB / 1.607 GB, free: 336 kB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/1.196, allocations: 11.88 kB / 1.607 GB, free: 324 kB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.196, allocations: 48 kB / 1.607 GB, free: 276 kB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/1.196, allocations: 38 kB / 1.607 GB, free: 236 kB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/1.199, allocations: 0.9834 MB / 1.608 GB, free: 15.25 MB / 1.311 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.008359/1.207, allocations: 7.792 MB / 1.616 GB, free: 7.016 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/1.208, allocations: 379.7 kB / 1.616 GB, free: 6.617 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/1.208, allocations: 116.8 kB / 1.616 GB, free: 6.5 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/1.209, allocations: 190.2 kB / 1.617 GB, free: 6.277 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/1.209, allocations: 34.56 kB / 1.617 GB, free: 6.234 MB / 1.311 GB Notification: Performance of pre-optimization done (n=18): time 1.542e-06/1.209, allocations: 0 / 1.617 GB, free: 6.234 MB / 1.311 GB Notification: Performance of matching and sorting (n=18): time 0.001464/1.21, allocations: 0.5373 MB / 1.617 GB, free: 5.691 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/1.21, allocations: 55.41 kB / 1.617 GB, free: 5.625 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/1.213, allocations: 2.28 MB / 1.619 GB, free: 3.324 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/1.213, allocations: 33.7 kB / 1.619 GB, free: 3.285 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/1.214, allocations: 0.9958 MB / 1.62 GB, free: 2.281 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/1.214, allocations: 75.47 kB / 1.62 GB, free: 2.207 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/1.215, allocations: 286.3 kB / 1.621 GB, free: 1.922 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.215, allocations: 353.9 kB / 1.621 GB, free: 1.57 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/1.216, allocations: 460.9 kB / 1.621 GB, free: 1.113 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/1.217, allocations: 0.8919 MB / 1.622 GB, free: 16 kB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/1.219, allocations: 1.21 MB / 1.624 GB, free: 14.61 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.219, allocations: 4 kB / 1.624 GB, free: 14.6 MB / 1.326 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002781/1.222, allocations: 1.515 MB / 1.625 GB, free: 13.08 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.222, allocations: 12 kB / 1.625 GB, free: 13.07 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.222, allocations: 19.94 kB / 1.625 GB, free: 13.05 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/1.222, allocations: 20 kB / 1.625 GB, free: 13.03 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/1.223, allocations: 247.9 kB / 1.625 GB, free: 12.79 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.979e-05/1.223, allocations: 27.92 kB / 1.625 GB, free: 12.76 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.224, allocations: 218.5 kB / 1.626 GB, free: 12.54 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/1.224, allocations: 55.98 kB / 1.626 GB, free: 12.49 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001519/1.226, allocations: 0.9278 MB / 1.627 GB, free: 11.55 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001235/1.227, allocations: 0.8841 MB / 1.627 GB, free: 10.46 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001741/1.229, allocations: 1.202 MB / 1.629 GB, free: 9.066 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.702e-06/1.229, allocations: 4 kB / 1.629 GB, free: 9.062 MB / 1.326 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002592/1.231, allocations: 1.494 MB / 1.63 GB, free: 7.559 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.231, allocations: 15.98 kB / 1.63 GB, free: 7.543 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.231, allocations: 15.94 kB / 1.63 GB, free: 7.527 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.231, allocations: 20 kB / 1.63 GB, free: 7.508 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/1.232, allocations: 243.6 kB / 1.63 GB, free: 7.27 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/1.232, allocations: 28.09 kB / 1.63 GB, free: 7.242 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.233, allocations: 143.4 kB / 1.63 GB, free: 7.102 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/1.233, allocations: 59.75 kB / 1.631 GB, free: 7.047 MB / 1.326 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.0001997/1.234, allocations: 247.9 kB / 1.631 GB, free: 6.797 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.234, allocations: 206.6 kB / 1.631 GB, free: 6.594 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/1.234, allocations: 168 kB / 1.631 GB, free: 6.426 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.234, allocations: 0 / 1.631 GB, free: 6.426 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.234, allocations: 0 / 1.631 GB, free: 6.426 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.234, allocations: 7.938 kB / 1.631 GB, free: 6.418 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/1.237, allocations: 1.878 MB / 1.633 GB, free: 4.426 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.237, allocations: 4 kB / 1.633 GB, free: 4.422 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/1.238, allocations: 47.91 kB / 1.633 GB, free: 4.375 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.238, allocations: 7.984 kB / 1.633 GB, free: 4.367 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.238, allocations: 8 kB / 1.633 GB, free: 4.359 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.238, allocations: 8 kB / 1.633 GB, free: 4.352 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/1.238, allocations: 11.88 kB / 1.633 GB, free: 4.34 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.239, allocations: 0.582 MB / 1.634 GB, free: 3.688 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/1.239, allocations: 339.5 kB / 1.634 GB, free: 3.336 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/1.239, allocations: 4 kB / 1.634 GB, free: 3.332 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/1.24, allocations: 55.94 kB / 1.634 GB, free: 3.277 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/1.24, allocations: 23.92 kB / 1.634 GB, free: 3.254 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/1.24, allocations: 16 kB / 1.634 GB, free: 3.238 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002264/1.242, allocations: 1.551 MB / 1.636 GB, free: 1.676 MB / 1.326 GB Notification: Performance of sort global known variables: time 2.8e-07/1.242, allocations: 0 / 1.636 GB, free: 1.676 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.001935/1.244, allocations: 0.8115 MB / 1.636 GB, free: 0.8633 MB / 1.326 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.002093/1.247, allocations: 1.471 MB / 1.638 GB, free: 15.31 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.002796/1.249, allocations: 1.44 MB / 1.639 GB, free: 13.88 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.249, allocations: 0 / 1.639 GB, free: 13.88 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/1.25, allocations: 129.8 kB / 1.639 GB, free: 13.75 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.254, allocations: 1.065 MB / 1.64 GB, free: 12.72 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.274, allocations: 13.75 MB / 1.654 GB, free: 14.3 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/1.275, allocations: 1.485 MB / 1.655 GB, free: 12.78 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001595/1.277, allocations: 465 kB / 1.656 GB, free: 12.32 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009569/1.278, allocations: 0.718 MB / 1.656 GB, free: 11.6 MB / 1.357 GB Notification: Performance of SimCode: time 5.01e-07/1.278, allocations: 0 / 1.656 GB, free: 11.6 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08933/1.367, allocations: 51.8 MB / 1.707 GB, free: 8.336 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.6, allocations: 14.28 kB / 1.707 GB, free: 8.324 MB / 1.404 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches