Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 106.8 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001777, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.749 GB, free: 3.023 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 67.88 kB / 1.073 GB, free: 124 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8438, allocations: 159.1 MB / 1.229 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006008/0.8499, allocations: 3.728 MB / 1.232 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.8501, allocations: 159.5 kB / 1.232 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.8502, allocations: 0 / 1.232 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.8503, allocations: 11.94 kB / 1.232 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.8504, allocations: 11.92 kB / 1.232 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.8507, allocations: 75.75 kB / 1.233 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.8509, allocations: 35.84 kB / 1.233 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.8509, allocations: 4 kB / 1.233 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.8509, allocations: 11.98 kB / 1.233 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.851, allocations: 19.92 kB / 1.233 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.8511, allocations: 0 / 1.233 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.8516, allocations: 195.3 kB / 1.233 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.8517, allocations: 4 kB / 1.233 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.8517, allocations: 11.94 kB / 1.233 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.8519, allocations: 41.72 kB / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8519, allocations: 0 / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8519, allocations: 3.938 kB / 1.233 GB, free: 468 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.8519, allocations: 0 / 1.233 GB, free: 468 kB / 0.9356 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.0004453/0.8524, allocations: 343.4 kB / 1.233 GB, free: 76 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8524, allocations: 8.031 kB / 1.233 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.8524, allocations: 38.75 kB / 1.233 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.8525, allocations: 4.938 kB / 1.233 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.8526, allocations: 164.3 kB / 1.233 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.8527, allocations: 34.25 kB / 1.233 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.8527, allocations: 4.125 kB / 1.233 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.8529, allocations: 37.69 kB / 1.233 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8529, allocations: 0 / 1.233 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8529, allocations: 11.94 kB / 1.233 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.8529, allocations: 7.984 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.853, allocations: 11.94 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.8535, allocations: 334 kB / 1.234 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.898e-05/0.8535, allocations: 14.58 kB / 1.234 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.8536, allocations: 8.922 kB / 1.234 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-05/0.8537, allocations: 93.09 kB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.8537, allocations: 30.56 kB / 1.234 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.8537, allocations: 0 / 1.234 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.8539, allocations: 37.64 kB / 1.234 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.8539, allocations: 55.39 kB / 1.234 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.854, allocations: 97.86 kB / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.854, allocations: 29.7 kB / 1.234 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.8541, allocations: 92.16 kB / 1.234 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.8541, allocations: 7.938 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.8542, allocations: 17.72 kB / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8543, allocations: 314.8 kB / 1.235 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.8543, allocations: 4 kB / 1.235 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.8544, allocations: 21.7 kB / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.8544, allocations: 21.66 kB / 1.235 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8544, allocations: 4 kB / 1.235 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.523e-05/0.8545, allocations: 49.62 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8545, allocations: 6.031 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8545, allocations: 0 / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8546, allocations: 0 / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.8546, allocations: 8 kB / 1.235 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8546, allocations: 0 / 1.235 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.8546, allocations: 0 / 1.235 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.8547, allocations: 8.062 kB / 1.235 GB, free: 14.29 MB / 0.9512 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 8.717e-05/0.8548, allocations: 119.4 kB / 1.235 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.8548, allocations: 0 / 1.235 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.8549, allocations: 116.9 kB / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-05/0.855, allocations: 192.3 kB / 1.235 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.778e-05/0.8551, allocations: 180.2 kB / 1.235 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.064e-05/0.8552, allocations: 188.2 kB / 1.235 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.8555, allocations: 409.2 kB / 1.236 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.901e-05/0.8556, allocations: 108.9 kB / 1.236 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.8556, allocations: 101 kB / 1.236 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.7e-05/0.8557, allocations: 180.3 kB / 1.236 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/0.8558, allocations: 188.2 kB / 1.236 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.679e-05/0.8559, allocations: 176.3 kB / 1.237 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.525e-05/0.856, allocations: 184.2 kB / 1.237 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.8562, allocations: 308 kB / 1.237 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.8563, allocations: 190 kB / 1.237 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.8564, allocations: 180.3 kB / 1.237 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.8566, allocations: 116.9 kB / 1.237 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8567, allocations: 180.2 kB / 1.238 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.8567, allocations: 101 kB / 1.238 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.573e-05/0.8568, allocations: 79.28 kB / 1.238 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.667e-06/0.8568, allocations: 4 kB / 1.238 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002474/0.857, allocations: 31.81 kB / 1.238 GB, free: 10.81 MB / 0.9512 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.0006497/0.8577, allocations: 0.8243 MB / 1.239 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.8578, allocations: 23.94 kB / 1.239 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8578, allocations: 0 / 1.239 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.8578, allocations: 0 / 1.239 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.8583, allocations: 455.7 kB / 1.239 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.8594, allocations: 1.313 MB / 1.24 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.8598, allocations: 0.6729 MB / 1.241 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.786e-05/0.8599, allocations: 10.98 kB / 1.241 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8599, allocations: 11.44 kB / 1.241 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.8599, allocations: 0 / 1.241 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.8831, allocations: 1.529 MB / 1.243 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.986, allocations: 7.859 kB / 1.243 GB, free: 5.98 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.022292596055195]