Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.009326/0.009326, allocations: 102 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.002032/0.002032, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 61.91 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2717, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005382/0.2771, allocations: 3.719 MB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.2774, allocations: 155.5 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.2774, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.2775, allocations: 3.938 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.2777, allocations: 19.91 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.2781, allocations: 79.75 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2782, allocations: 35.84 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.2782, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.2783, allocations: 27.92 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.2783, allocations: 7.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2784, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.279, allocations: 179.4 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.279, allocations: 7.984 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.279, allocations: 15.92 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.2792, allocations: 42.72 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2792, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2792, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2792, allocations: 3.938 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003813/0.2796, allocations: 348.2 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2796, allocations: 8.031 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.2797, allocations: 30.75 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.2797, allocations: 4.938 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2798, allocations: 160.4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.2799, allocations: 30.25 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2799, allocations: 8.125 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.28, allocations: 45.67 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2801, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2801, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.2801, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.2801, allocations: 23.92 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2806, allocations: 326 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.2806, allocations: 22.61 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.2806, allocations: 4.859 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.569e-05/0.2807, allocations: 89.17 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2808, allocations: 30.56 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2808, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.2809, allocations: 41.62 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.281, allocations: 55.41 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.2811, allocations: 93.86 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2811, allocations: 25.83 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2811, allocations: 96.03 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-06/0.2812, allocations: 11.84 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.2812, allocations: 13.72 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.2813, allocations: 318.8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.2813, allocations: 7.984 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.2813, allocations: 9.719 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.2814, allocations: 29.66 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2814, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.177e-05/0.2815, allocations: 49.62 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2815, allocations: 8 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2815, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2815, allocations: 3.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.2816, allocations: 4 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2816, allocations: 7.984 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.2816, allocations: 4.062 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2816, allocations: 4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 6.816e-05/0.2817, allocations: 113.8 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.2818, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2819, allocations: 136.7 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/0.2819, allocations: 176.3 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.718e-05/0.282, allocations: 180.3 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.023e-05/0.2821, allocations: 184.2 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2823, allocations: 405.2 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.2823, allocations: 108.9 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.2824, allocations: 101 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.552e-05/0.2824, allocations: 180.2 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.521e-05/0.2825, allocations: 188.2 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.907e-05/0.2826, allocations: 180.3 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001114/0.2827, allocations: 180.2 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.2829, allocations: 308 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.283, allocations: 186 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.283, allocations: 180.3 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2832, allocations: 108.9 kB / 1.096 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.2833, allocations: 188.2 kB / 1.096 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.2833, allocations: 101 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.2833, allocations: 87.22 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2833, allocations: 4 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002429/0.2836, allocations: 23.92 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005019/0.2841, allocations: 0.8249 MB / 1.097 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.2842, allocations: 15.94 kB / 1.097 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2842, allocations: 0 / 1.097 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.2842, allocations: 3.938 kB / 1.097 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.2846, allocations: 465.4 kB / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2856, allocations: 1.328 MB / 1.099 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2858, allocations: 0.6768 MB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.2859, allocations: 4 kB / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.2859, allocations: 11.44 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.2859, allocations: 0 / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.3047, allocations: 1.534 MB / 1.101 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.04, allocations: 6.562 kB / 1.101 GB, free: 3.156 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches