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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 192.3 kB / 16.53 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 461.9 MB / 0.7347 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 72.39 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2527, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004695/0.2575, allocations: 3.733 MB / 1.057 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.2577, allocations: 163.5 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.2577, allocations: 0 / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.109e-05/0.2578, allocations: 3.938 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.2578, allocations: 11.92 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2581, allocations: 90.88 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.2582, allocations: 35.84 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.866e-05/0.2582, allocations: 4 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.2583, allocations: 11.94 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.2583, allocations: 11.97 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2583, allocations: 7.938 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.2588, allocations: 183.4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.2588, allocations: 7.984 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.2589, allocations: 11.94 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.259, allocations: 44.17 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.259, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.259, allocations: 4 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.259, allocations: 0 / 1.057 GB, free: 3.98 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.0003113/0.2593, allocations: 331.6 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2593, allocations: 8.625 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.2594, allocations: 30.75 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.2594, allocations: 20.78 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.2595, allocations: 164.3 kB / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.2596, allocations: 34.25 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2596, allocations: 8.125 kB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/0.2597, allocations: 41.62 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2597, allocations: 0 / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2597, allocations: 0 / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2597, allocations: 3.938 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.2598, allocations: 19.98 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.2602, allocations: 338 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 2.907e-05/0.2602, allocations: 14.58 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.2602, allocations: 4.859 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.93e-05/0.2603, allocations: 93.09 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2603, allocations: 34.56 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2603, allocations: 0 / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001112/0.2605, allocations: 33.83 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.2605, allocations: 55.41 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.2606, allocations: 105.8 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2606, allocations: 25.7 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.2606, allocations: 88.05 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.2606, allocations: 7.891 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.2607, allocations: 17.72 kB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.2608, allocations: 314.8 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.2608, allocations: 8 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.2608, allocations: 25.64 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.2609, allocations: 13.72 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2609, allocations: 0 / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.916e-05/0.2609, allocations: 53.62 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.261, allocations: 5.25 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.261, allocations: 64 / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.261, allocations: 4 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.593e-05/0.261, allocations: 4 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.261, allocations: 4 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.261, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2611, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 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 7.614e-05/0.2611, allocations: 121.8 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2612, allocations: 3.938 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.602e-05/0.2613, allocations: 120.9 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/0.2613, allocations: 176.3 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-05/0.2614, allocations: 192.2 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/0.2614, allocations: 176.3 kB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.2616, allocations: 405.2 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/0.2617, allocations: 108.9 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.2617, allocations: 105 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.222e-05/0.2618, allocations: 180.2 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.2618, allocations: 180.3 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-05/0.2619, allocations: 180.2 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.661e-05/0.2619, allocations: 184.2 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.2621, allocations: 315.9 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.2621, allocations: 186 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.2622, allocations: 184.3 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2623, allocations: 108.9 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2624, allocations: 192.2 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.2624, allocations: 104.9 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.2625, allocations: 79.28 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2625, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002259/0.2627, allocations: 23.88 kB / 1.062 GB, free: 14.35 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.0004167/0.2631, allocations: 0.8322 MB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.787e-05/0.2632, allocations: 15.94 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2632, allocations: 0 / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.2632, allocations: 0 / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.2636, allocations: 459.8 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.2644, allocations: 1.317 MB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.2647, allocations: 0.6729 MB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.2647, allocations: 8 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.2647, allocations: 19.36 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of SimCode: time 2.514e-06/0.2647, allocations: 0 / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2306/0.4953, allocations: 1.496 MB / 1.067 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.734, allocations: 16.3 kB / 1.067 GB, free: 9.516 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