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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 217.5 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.067/3.067, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 65.61 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006016/0.3413, allocations: 3.633 MB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002152/0.3415, allocations: 147.6 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.3415, allocations: 0 / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.081e-05/0.3416, allocations: 4 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.3417, allocations: 11.92 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.342, allocations: 87.62 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.3421, allocations: 35.91 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.3422, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.3422, allocations: 23.86 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3423, allocations: 15.97 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3423, allocations: 4 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.3429, allocations: 211.6 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.343, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.343, allocations: 19.92 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3431, allocations: 47.92 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3432, allocations: 8 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3432, allocations: 4 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3432, allocations: 3.938 kB / 1.349 GB, free: 11.7 MB / 1.045 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.000391/0.3436, allocations: 254.3 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3436, allocations: 8.031 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.445e-05/0.3436, allocations: 8.125 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3436, allocations: 30.75 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3437, allocations: 0.9375 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3438, allocations: 114.5 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.3439, allocations: 51.97 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3439, allocations: 7.875 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.344, allocations: 75.39 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.344, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3441, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.3441, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.3441, allocations: 19.92 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.3446, allocations: 232 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.3447, allocations: 14.58 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.3447, allocations: 12.91 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.3448, allocations: 4 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3448, allocations: 34.56 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3448, allocations: 0 / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.3449, allocations: 41.64 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.345, allocations: 51.41 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.3451, allocations: 101.8 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3451, allocations: 25.7 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.3451, allocations: 88.09 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/0.3452, allocations: 3.984 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.3452, allocations: 17.67 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3453, allocations: 322.8 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.3453, allocations: 4.125 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.3454, allocations: 17.7 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.3454, allocations: 25.66 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3454, allocations: 0 / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.537e-05/0.3455, allocations: 49.69 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3455, allocations: 4 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3455, allocations: 3.938 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3455, allocations: 3.938 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.29e-05/0.3456, allocations: 8.062 kB / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3456, allocations: 4 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.3456, allocations: 0 / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3456, allocations: 3.938 kB / 1.351 GB, free: 9.871 MB / 1.045 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.976e-05/0.3457, allocations: 113.8 kB / 1.351 GB, free: 9.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3457, allocations: 0 / 1.351 GB, free: 9.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.3458, allocations: 117.3 kB / 1.351 GB, free: 9.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.743e-05/0.3459, allocations: 184.2 kB / 1.351 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-05/0.346, allocations: 180.2 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.319e-05/0.3461, allocations: 184.2 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.3464, allocations: 392.2 kB / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-05/0.3464, allocations: 105 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.3465, allocations: 108.9 kB / 1.352 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.3465, allocations: 176.3 kB / 1.352 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/0.3466, allocations: 192.1 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.313e-05/0.3467, allocations: 176.3 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.922e-05/0.3468, allocations: 184.2 kB / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.347, allocations: 311.7 kB / 1.353 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.347, allocations: 104.9 kB / 1.353 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3471, allocations: 184.2 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3473, allocations: 108.9 kB / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.3474, allocations: 180.3 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.3474, allocations: 101 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.653e-05/0.3475, allocations: 91.2 kB / 1.354 GB, free: 6.551 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3475, allocations: 0 / 1.354 GB, free: 6.551 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002761/0.3478, allocations: 16 kB / 1.354 GB, free: 6.535 MB / 1.045 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.0006629/0.3484, allocations: 0.8282 MB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.429e-05/0.3485, allocations: 12 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3485, allocations: 0 / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-06/0.3485, allocations: 12.06 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3491, allocations: 465.9 kB / 1.355 GB, free: 5.199 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3503, allocations: 1.325 MB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.3503, allocations: 55.36 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.613e-05/0.3504, allocations: 10.86 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3504, allocations: 15.44 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.3504, allocations: 0 / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.3725, allocations: 1.697 MB / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.3, allocations: 5.719 kB / 1.358 GB, free: 2.141 MB / 1.045 GB " [Timeout remaining time 289] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.677911035949364]