Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.0009527/0.0009527, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007522/0.007523, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 9.156 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2948, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004096/0.2989, allocations: 3.422 MB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001863/0.2992, allocations: 167.5 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.2992, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.046e-05/0.2993, allocations: 3.938 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.2993, allocations: 15.92 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.2996, allocations: 67.83 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.2997, allocations: 67.8 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.2998, allocations: 0 / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.2998, allocations: 15.94 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.2999, allocations: 15.97 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2999, allocations: 4 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.3004, allocations: 183.5 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.3005, allocations: 7.984 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.3005, allocations: 41.62 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3006, allocations: 48.11 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3006, allocations: 8 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3006, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.3006, allocations: 0 / 1.063 GB, free: 0.7969 MB / 0.8106 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.0003038/0.301, allocations: 327.5 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.301, allocations: 11.97 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.301, allocations: 30.75 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.3011, allocations: 8.875 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.3012, allocations: 164.4 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.3012, allocations: 30.27 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3012, allocations: 8.125 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3014, allocations: 45.66 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.3014, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3014, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.3014, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.3015, allocations: 23.92 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3019, allocations: 329.9 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.178e-05/0.3019, allocations: 26.61 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.3019, allocations: 4.859 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/0.302, allocations: 85.17 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.302, allocations: 30.56 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.187e-05/0.302, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.3022, allocations: 45.56 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.3022, allocations: 59.53 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.3023, allocations: 97.86 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3023, allocations: 25.7 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.3024, allocations: 92.03 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.3024, allocations: 3.906 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.3024, allocations: 9.719 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.3025, allocations: 318.8 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.3025, allocations: 4 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.3025, allocations: 21.7 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.3026, allocations: 21.66 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3026, allocations: 0 / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.946e-05/0.3027, allocations: 53.62 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3027, allocations: 5.406 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3027, allocations: 0 / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.3027, allocations: 0 / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.955e-05/0.3027, allocations: 12.06 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3028, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.3028, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3028, allocations: 4 kB / 1.065 GB, free: 14.65 MB / 0.8262 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.091e-05/0.3029, allocations: 113.8 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.3029, allocations: 3.938 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.92e-05/0.303, allocations: 120.9 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.311e-05/0.303, allocations: 180.3 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-05/0.3031, allocations: 184.2 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/0.3031, allocations: 180.2 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3033, allocations: 417 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/0.3033, allocations: 104.9 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.3034, allocations: 105 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.217e-05/0.3034, allocations: 176.3 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.3035, allocations: 188.2 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.967e-05/0.3035, allocations: 180.2 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.776e-05/0.3036, allocations: 184.2 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.3037, allocations: 307.8 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.3038, allocations: 190 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.3038, allocations: 180.3 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.304, allocations: 112.9 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.3041, allocations: 176.3 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3041, allocations: 109.3 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.3041, allocations: 87.22 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3041, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002351/0.3044, allocations: 27.86 kB / 1.068 GB, free: 11.18 MB / 0.8262 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.0005096/0.3049, allocations: 0.8243 MB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.594e-05/0.305, allocations: 15.94 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.305, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.305, allocations: 336 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3054, allocations: 0.5226 MB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.3063, allocations: 1.334 MB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.3065, allocations: 0.6731 MB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.3065, allocations: 15.73 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.3066, allocations: 11.44 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3066, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/0.477, allocations: 1.311 MB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.4773, allocations: 240.3 kB / 1.073 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.08, allocations: 3.344 kB / 1.073 GB, free: 6.246 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches