Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001906/0.001906, allocations: 111.2 kB / 16.45 MB, free: 6.488 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.002181/0.002181, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.86 kB / 1.134 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3325, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006495/0.339, allocations: 4.042 MB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.3392, allocations: 155.5 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.3393, allocations: 0 / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.3394, allocations: 3.938 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.773e-05/0.3395, allocations: 15.92 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.3399, allocations: 83.75 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.34, allocations: 31.84 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.3401, allocations: 0 / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.3401, allocations: 23.92 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.3402, allocations: 7.984 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3402, allocations: 4 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.3404, allocations: 59.81 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.3405, allocations: 15.91 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3405, allocations: 7.938 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3407, allocations: 52.11 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3407, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3407, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3407, allocations: 3.938 kB / 1.308 GB, free: 13.03 MB / 1.014 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.0006452/0.3413, allocations: 331.5 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.3414, allocations: 8.625 kB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.3415, allocations: 38.73 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.3415, allocations: 4.891 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3417, allocations: 164.4 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.3418, allocations: 34.27 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3418, allocations: 4.125 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3419, allocations: 37.69 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3419, allocations: 0 / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3419, allocations: 0 / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.342, allocations: 4 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.342, allocations: 19.92 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.3426, allocations: 334 kB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.3427, allocations: 22.56 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.3427, allocations: 4.859 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.3428, allocations: 89.16 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3428, allocations: 34.56 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3428, allocations: 0 / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001775/0.343, allocations: 37.64 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3431, allocations: 55.53 kB / 1.309 GB, free: 11.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3432, allocations: 105.8 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3432, allocations: 25.7 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.3433, allocations: 88.09 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.527e-06/0.3433, allocations: 3.953 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3433, allocations: 21.7 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3435, allocations: 314.8 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.3435, allocations: 4 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.3435, allocations: 25.7 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.3435, allocations: 17.66 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3435, allocations: 0 / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.204e-05/0.3436, allocations: 53.62 kB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3436, allocations: 4 kB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3436, allocations: 0 / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3437, allocations: 12 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.3437, allocations: 8 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3437, allocations: 0 / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.3437, allocations: 3.938 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3438, allocations: 4 kB / 1.31 GB, free: 10.87 MB / 1.014 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 9.576e-05/0.3439, allocations: 121.8 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3439, allocations: 3.953 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.344, allocations: 120.9 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.071e-05/0.3441, allocations: 176.3 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.442e-05/0.3442, allocations: 188.2 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-05/0.3443, allocations: 180.2 kB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.3446, allocations: 409.2 kB / 1.311 GB, free: 9.598 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.258e-05/0.3446, allocations: 104.9 kB / 1.311 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.3447, allocations: 109 kB / 1.312 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-05/0.3448, allocations: 176.3 kB / 1.312 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.3449, allocations: 184.2 kB / 1.312 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.87e-05/0.345, allocations: 180.2 kB / 1.312 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.563e-05/0.3451, allocations: 180.2 kB / 1.312 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3452, allocations: 307.8 kB / 1.312 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3453, allocations: 190 kB / 1.313 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3454, allocations: 176.3 kB / 1.313 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3456, allocations: 108.9 kB / 1.313 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.3457, allocations: 184.3 kB / 1.313 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.3457, allocations: 105 kB / 1.313 GB, free: 7.516 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.3458, allocations: 83.22 kB / 1.313 GB, free: 7.434 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3458, allocations: 0 / 1.313 GB, free: 7.434 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002813/0.3461, allocations: 19.88 kB / 1.313 GB, free: 7.414 MB / 1.014 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.0006326/0.3467, allocations: 0.836 MB / 1.314 GB, free: 6.551 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.3468, allocations: 11.94 kB / 1.314 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3468, allocations: 0 / 1.314 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3468, allocations: 0 / 1.314 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.3472, allocations: 467 kB / 1.315 GB, free: 6.082 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3484, allocations: 1.328 MB / 1.316 GB, free: 4.668 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3488, allocations: 0.6729 MB / 1.317 GB, free: 3.969 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.16e-05/0.3488, allocations: 11.98 kB / 1.317 GB, free: 3.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3488, allocations: 7.438 kB / 1.317 GB, free: 3.949 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.3488, allocations: 4 kB / 1.317 GB, free: 3.945 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.3726, allocations: 1.524 MB / 1.318 GB, free: 2.539 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.494, allocations: 11 kB / 1.318 GB, free: 2.531 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 14.9472572831437]