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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00569/0.00569, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.00113/0.00113, allocations: 196.2 kB / 16.67 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.746/2.746, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.12 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.266, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8829/1.149, allocations: 304.9 MB / 1.517 GB, free: 4.914 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03216/1.181, allocations: 27.45 MB / 1.544 GB, free: 9.387 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/1.184, allocations: 75.62 kB / 1.544 GB, free: 9.312 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005668/1.189, allocations: 2.263 MB / 1.547 GB, free: 7.039 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007225/1.197, allocations: 3.188 MB / 1.55 GB, free: 3.84 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006337/1.203, allocations: 2.772 MB / 1.552 GB, free: 1.074 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01052/1.214, allocations: 7.255 MB / 1.559 GB, free: 9.805 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/1.217, allocations: 1.825 MB / 1.561 GB, free: 7.941 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00522/1.222, allocations: 2.301 MB / 1.563 GB, free: 5.633 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003101/1.225, allocations: 1.361 MB / 1.565 GB, free: 4.273 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000617/1.226, allocations: 219.9 kB / 1.565 GB, free: 4.059 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006338/1.232, allocations: 3.227 MB / 1.568 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.233, allocations: 0.7556 MB / 1.569 GB, free: 68 kB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002445/1.236, allocations: 1.26 MB / 1.57 GB, free: 14.8 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008297/1.244, allocations: 4.937 MB / 1.575 GB, free: 9.848 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.244, allocations: 4 kB / 1.575 GB, free: 9.844 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.834e-06/1.244, allocations: 0 / 1.575 GB, free: 9.844 MB / 1.264 GB Notification: Performance of Transformations before backend: time 9.307e-05/1.244, allocations: 0 / 1.575 GB, free: 9.844 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.005861/1.25, allocations: 2.821 MB / 1.578 GB, free: 6.945 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.25, allocations: 12.03 kB / 1.578 GB, free: 6.934 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002605/1.25, allocations: 168.9 kB / 1.578 GB, free: 6.758 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/1.255, allocations: 0.7283 MB / 1.579 GB, free: 6.027 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/1.265, allocations: 5.658 MB / 1.584 GB, free: 324 kB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/1.265, allocations: 82.19 kB / 1.584 GB, free: 240 kB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.265, allocations: 116 kB / 1.584 GB, free: 124 kB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/1.268, allocations: 1.398 MB / 1.586 GB, free: 14.58 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/1.268, allocations: 11.94 kB / 1.586 GB, free: 14.57 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.268, allocations: 48 kB / 1.586 GB, free: 14.52 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/1.268, allocations: 38 kB / 1.586 GB, free: 14.48 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/1.271, allocations: 0.9833 MB / 1.587 GB, free: 13.5 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.008631/1.279, allocations: 7.682 MB / 1.594 GB, free: 5.41 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009246/1.28, allocations: 363.8 kB / 1.595 GB, free: 5.027 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/1.281, allocations: 124.1 kB / 1.595 GB, free: 4.906 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/1.281, allocations: 186.2 kB / 1.595 GB, free: 4.688 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.281, allocations: 46.5 kB / 1.595 GB, free: 4.633 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/1.281, allocations: 0 / 1.595 GB, free: 4.633 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.001499/1.282, allocations: 0.5274 MB / 1.595 GB, free: 4.098 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/1.282, allocations: 51.41 kB / 1.595 GB, free: 4.035 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/1.285, allocations: 2.288 MB / 1.598 GB, free: 1.727 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/1.285, allocations: 33.7 kB / 1.598 GB, free: 1.688 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/1.286, allocations: 0.9881 MB / 1.599 GB, free: 0.6875 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/1.286, allocations: 83.41 kB / 1.599 GB, free: 0.6055 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/1.287, allocations: 286.4 kB / 1.599 GB, free: 324 kB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.287, allocations: 353.9 kB / 1.599 GB, free: 15.96 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009696/1.288, allocations: 456.9 kB / 1.6 GB, free: 15.52 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/1.289, allocations: 0.8958 MB / 1.601 GB, free: 14.41 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/1.291, allocations: 1.21 MB / 1.602 GB, free: 13 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.291, allocations: 8 kB / 1.602 GB, free: 12.99 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002871/1.294, allocations: 1.515 MB / 1.603 GB, free: 11.48 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.294, allocations: 13.66 kB / 1.603 GB, free: 11.46 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.294, allocations: 16 kB / 1.603 GB, free: 11.45 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/1.294, allocations: 20 kB / 1.603 GB, free: 11.43 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008934/1.295, allocations: 252.3 kB / 1.604 GB, free: 11.18 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/1.295, allocations: 27.92 kB / 1.604 GB, free: 11.16 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.296, allocations: 218.6 kB / 1.604 GB, free: 10.94 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/1.297, allocations: 51.98 kB / 1.604 GB, free: 10.89 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001569/1.298, allocations: 0.9278 MB / 1.605 GB, free: 9.957 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001111/1.299, allocations: 0.8919 MB / 1.606 GB, free: 8.855 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00157/1.301, allocations: 1.206 MB / 1.607 GB, free: 7.453 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.223e-06/1.301, allocations: 4 kB / 1.607 GB, free: 7.449 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00253/1.303, allocations: 1.49 MB / 1.608 GB, free: 5.949 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.303, allocations: 8 kB / 1.608 GB, free: 5.941 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.303, allocations: 16 kB / 1.608 GB, free: 5.926 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.303, allocations: 20 kB / 1.608 GB, free: 5.906 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/1.304, allocations: 248.1 kB / 1.609 GB, free: 5.664 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/1.304, allocations: 27.92 kB / 1.609 GB, free: 5.637 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.306, allocations: 136 kB / 1.609 GB, free: 5.504 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/1.306, allocations: 60.05 kB / 1.609 GB, free: 5.445 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.000225/1.306, allocations: 251.8 kB / 1.609 GB, free: 5.191 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/1.306, allocations: 210.6 kB / 1.609 GB, free: 4.984 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/1.306, allocations: 168 kB / 1.609 GB, free: 4.816 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.307, allocations: 4 kB / 1.609 GB, free: 4.812 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.307, allocations: 0 / 1.609 GB, free: 4.812 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.307, allocations: 7.922 kB / 1.609 GB, free: 4.805 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/1.309, allocations: 1.862 MB / 1.611 GB, free: 2.828 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.31, allocations: 4 kB / 1.611 GB, free: 2.824 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/1.31, allocations: 51.89 kB / 1.611 GB, free: 2.773 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/1.31, allocations: 8 kB / 1.611 GB, free: 2.766 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/1.31, allocations: 8.25 kB / 1.611 GB, free: 2.758 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/1.31, allocations: 15.92 kB / 1.611 GB, free: 2.742 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.31, allocations: 15.92 kB / 1.611 GB, free: 2.727 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/1.311, allocations: 0.5797 MB / 1.612 GB, free: 2.074 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/1.311, allocations: 331.6 kB / 1.612 GB, free: 1.73 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.312, allocations: 12 kB / 1.612 GB, free: 1.719 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008426/1.312, allocations: 55.89 kB / 1.612 GB, free: 1.664 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/1.312, allocations: 23.86 kB / 1.612 GB, free: 1.641 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/1.312, allocations: 8 kB / 1.612 GB, free: 1.633 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002127/1.315, allocations: 1.555 MB / 1.614 GB, free: 68 kB / 1.295 GB Notification: Performance of sort global known variables: time 1.8e-07/1.315, allocations: 0 / 1.614 GB, free: 68 kB / 1.295 GB Notification: Performance of remove unused functions: time 0.001986/1.317, allocations: 0.8231 MB / 1.615 GB, free: 15.24 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.001931/1.319, allocations: 1.458 MB / 1.616 GB, free: 13.7 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002678/1.321, allocations: 1.44 MB / 1.618 GB, free: 12.27 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.321, allocations: 0 / 1.618 GB, free: 12.27 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/1.322, allocations: 128.3 kB / 1.618 GB, free: 12.14 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.326, allocations: 1.077 MB / 1.619 GB, free: 11.09 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/1.345, allocations: 13.73 MB / 1.632 GB, free: 12.69 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.346, allocations: 1.485 MB / 1.634 GB, free: 11.17 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001625/1.347, allocations: 457 kB / 1.634 GB, free: 10.72 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008996/1.348, allocations: 0.7297 MB / 1.635 GB, free: 9.988 MB / 1.326 GB Notification: Performance of SimCode: time 8.51e-07/1.348, allocations: 3.938 kB / 1.635 GB, free: 9.984 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0783/1.427, allocations: 51.82 MB / 1.685 GB, free: 6.695 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.38, allocations: 18.75 kB / 1.685 GB, free: 6.68 MB / 1.373 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 50 --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