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.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.001862/0.001862, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002285/0.002285, allocations: 215 kB / 20.13 MB, free: 2.949 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.917/2.917, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.002081/0.002081, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.9945, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006152/1.001, allocations: 3.81 MB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003059/1.001, allocations: 157.5 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/1.001, allocations: 0.5312 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/1.001, allocations: 5.469 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/1.001, allocations: 14.14 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/1.002, allocations: 81.05 kB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/1.002, allocations: 33.25 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/1.002, allocations: 3 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/1.002, allocations: 24.06 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/1.002, allocations: 16.39 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/1.002, allocations: 1.031 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006066/1.002, allocations: 209.5 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/1.002, allocations: 4.578 kB / 1.283 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/1.002, allocations: 13.45 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/1.003, allocations: 69.03 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.003, allocations: 0 / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/1.003, allocations: 0 / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.004e-05/1.003, allocations: 3.938 kB / 1.283 GB, free: 8.707 MB / 0.9981 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.0004652/1.003, allocations: 342 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.003, allocations: 8.781 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/1.003, allocations: 1.75 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/1.003, allocations: 31.27 kB / 1.284 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/1.003, allocations: 3.828 kB / 1.284 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/1.003, allocations: 162.9 kB / 1.284 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/1.003, allocations: 27.3 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/1.003, allocations: 12.94 kB / 1.284 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/1.004, allocations: 47.98 kB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.004, allocations: 1.562 kB / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/1.004, allocations: 0 / 1.284 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/1.004, allocations: 6.328 kB / 1.284 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/1.004, allocations: 15.12 kB / 1.284 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/1.004, allocations: 333 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/1.004, allocations: 20.64 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/1.004, allocations: 6.047 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/1.004, allocations: 87.75 kB / 1.284 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.004, allocations: 31.62 kB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.004, allocations: 1.344 kB / 1.284 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/1.005, allocations: 37.06 kB / 1.284 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/1.005, allocations: 52.88 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/1.005, allocations: 110.9 kB / 1.285 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.005, allocations: 25.7 kB / 1.285 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/1.005, allocations: 90.22 kB / 1.285 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-06/1.005, allocations: 2.422 kB / 1.285 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/1.005, allocations: 12.92 kB / 1.285 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.005, allocations: 321.6 kB / 1.285 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/1.005, allocations: 3.812 kB / 1.285 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/1.005, allocations: 27.08 kB / 1.285 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/1.005, allocations: 21.06 kB / 1.285 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.005, allocations: 0 / 1.285 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.462e-05/1.005, allocations: 49.73 kB / 1.285 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.005, allocations: 10.22 kB / 1.285 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.005, allocations: 3.938 kB / 1.285 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.005, allocations: 2.188 kB / 1.285 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/1.005, allocations: 8.656 kB / 1.285 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/1.005, allocations: 1.969 kB / 1.285 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/1.005, allocations: 5.297 kB / 1.285 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/1.005, allocations: 5.312 kB / 1.285 GB, free: 6.711 MB / 0.9981 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.635e-05/1.005, allocations: 109 kB / 1.285 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/1.005, allocations: 1.438 kB / 1.285 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/1.006, allocations: 127.6 kB / 1.285 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-05/1.006, allocations: 182.4 kB / 1.285 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.629e-05/1.006, allocations: 185 kB / 1.286 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.382e-05/1.006, allocations: 178.2 kB / 1.286 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/1.006, allocations: 407.9 kB / 1.286 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.153e-05/1.006, allocations: 106.4 kB / 1.286 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/1.006, allocations: 107.2 kB / 1.286 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-05/1.006, allocations: 185 kB / 1.287 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.755e-05/1.006, allocations: 178.3 kB / 1.287 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.726e-05/1.006, allocations: 178.8 kB / 1.287 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/1.007, allocations: 182.2 kB / 1.287 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/1.007, allocations: 313.6 kB / 1.287 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.007, allocations: 180.5 kB / 1.288 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/1.007, allocations: 179.2 kB / 1.288 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.007, allocations: 109 kB / 1.288 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/1.007, allocations: 178.9 kB / 1.288 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/1.007, allocations: 112.9 kB / 1.288 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.426e-05/1.007, allocations: 90.39 kB / 1.288 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.007, allocations: 0 / 1.288 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002761/1.008, allocations: 18.16 kB / 1.288 GB, free: 3.324 MB / 0.9981 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.0005931/1.008, allocations: 0.8348 MB / 1.289 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.967e-05/1.008, allocations: 14.75 kB / 1.289 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.008, allocations: 1.312 kB / 1.289 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.008, allocations: 0 / 1.289 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/1.009, allocations: 458.8 kB / 1.29 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/1.01, allocations: 1.318 MB / 1.291 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/1.01, allocations: 0.6759 MB / 1.291 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.201e-05/1.01, allocations: 12.47 kB / 1.291 GB, free: 20 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/1.01, allocations: 13.34 kB / 1.291 GB, free: 8 kB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.01, allocations: 0 / 1.291 GB, free: 8 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/1.029, allocations: 1.556 MB / 1.293 GB, free: 15.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.457, allocations: 3.125 kB / 1.293 GB, free: 15.63 MB / 1.014 GB " [Timeout remaining time 290] (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/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.944530218024738]