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.001685/0.001685, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.002049/0.002049, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.851/2.851, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 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.002064/0.002064, allocations: 64.77 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006904/0.3427, allocations: 3.627 MB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.3429, allocations: 139.5 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.343, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.3431, allocations: 11.92 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.189e-05/0.3432, allocations: 11.92 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.3436, allocations: 91.67 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3437, allocations: 31.84 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.3438, allocations: 4 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.3439, allocations: 19.92 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.3439, allocations: 11.98 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.344, allocations: 3.938 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007483/0.3447, allocations: 211.3 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.3448, allocations: 7.984 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.3448, allocations: 15.94 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.345, allocations: 65.25 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.345, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.625e-06/0.345, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.345, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 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.0005066/0.3455, allocations: 262.3 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3456, allocations: 8.031 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.708e-05/0.3456, allocations: 192 / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.3456, allocations: 30.75 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.3457, allocations: 4.938 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3458, allocations: 106.5 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.3459, allocations: 63.95 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3459, allocations: 11.88 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3461, allocations: 63.39 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3461, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3461, allocations: 4 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.3462, allocations: 7.922 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.3462, allocations: 15.98 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.3468, allocations: 224 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.3468, allocations: 18.58 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.3468, allocations: 8.859 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.3469, allocations: 12.05 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3469, allocations: 38.5 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3469, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001763/0.3471, allocations: 33.7 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3472, allocations: 51.41 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.3473, allocations: 105.8 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3473, allocations: 25.7 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.3474, allocations: 88.14 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.3474, allocations: 3.953 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.3474, allocations: 25.83 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3476, allocations: 314.8 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.3476, allocations: 4 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.3476, allocations: 21.66 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.3477, allocations: 21.7 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3477, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.635e-05/0.3478, allocations: 49.62 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3478, allocations: 4 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3478, allocations: 12 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3478, allocations: 0 / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.3479, allocations: 4 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3479, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.3479, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3479, allocations: 7.938 kB / 1.29 GB, free: 4.602 MB / 0.9825 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.306e-05/0.348, allocations: 109.8 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.348, allocations: 7.953 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.3482, allocations: 120.9 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.032e-05/0.3483, allocations: 180.3 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.463e-05/0.3484, allocations: 184.2 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.437e-05/0.3485, allocations: 192.2 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.3487, allocations: 376.2 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.037e-05/0.3488, allocations: 108.9 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.3488, allocations: 109 kB / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.571e-05/0.3489, allocations: 184.2 kB / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.349, allocations: 176.3 kB / 1.291 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.733e-05/0.3491, allocations: 176.3 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.54e-05/0.3492, allocations: 184.2 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.3494, allocations: 311.7 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.3494, allocations: 109 kB / 1.292 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.3495, allocations: 176.3 kB / 1.292 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3497, allocations: 112.9 kB / 1.292 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.3498, allocations: 180.3 kB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.3499, allocations: 104.9 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.3499, allocations: 91.2 kB / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3499, allocations: 0 / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002607/0.3502, allocations: 16 kB / 1.293 GB, free: 1.266 MB / 0.9825 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.00055/0.3507, allocations: 0.8204 MB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.3508, allocations: 19.94 kB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3508, allocations: 0 / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3508, allocations: 0 / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.3514, allocations: 455.7 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3526, allocations: 1.337 MB / 1.295 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.519e-05/0.3526, allocations: 59.36 kB / 1.295 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.3527, allocations: 13.48 kB / 1.295 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.3527, allocations: 11.42 kB / 1.295 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3527, allocations: 0 / 1.295 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.384, allocations: 1.702 MB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 10.95 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.887091921060346]