Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001458/0.001458, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001619/0.001619, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.404/1.404, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.01/3.01, allocations: 0.49 GB / 0.7916 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",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.002054/0.002054, allocations: 69.39 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1705/0.5069, allocations: 138.6 MB / 1.456 GB, free: 8.207 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.507, allocations: 55.8 kB / 1.456 GB, free: 8.152 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.507, allocations: 4 kB / 1.456 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.5072, allocations: 3.984 kB / 1.456 GB, free: 8.145 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.5072, allocations: 3.938 kB / 1.456 GB, free: 8.141 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.508, allocations: 250.1 kB / 1.456 GB, free: 7.898 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.5081, allocations: 39.84 kB / 1.457 GB, free: 7.859 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.5081, allocations: 0 / 1.457 GB, free: 7.859 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.5082, allocations: 11.98 kB / 1.457 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.5082, allocations: 19.81 kB / 1.457 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.5083, allocations: 0 / 1.457 GB, free: 7.832 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.5087, allocations: 255.4 kB / 1.457 GB, free: 7.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.5088, allocations: 4 kB / 1.457 GB, free: 7.578 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.5088, allocations: 11.94 kB / 1.457 GB, free: 7.566 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.5091, allocations: 187.7 kB / 1.457 GB, free: 7.383 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5091, allocations: 4 kB / 1.457 GB, free: 7.379 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5091, allocations: 4 kB / 1.457 GB, free: 7.375 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5091, allocations: 4 kB / 1.457 GB, free: 7.371 MB / 1.154 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.0004269/0.5096, allocations: 363.1 kB / 1.457 GB, free: 6.969 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5096, allocations: 15.98 kB / 1.457 GB, free: 6.953 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.5096, allocations: 30.75 kB / 1.457 GB, free: 6.914 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.5097, allocations: 0.9375 kB / 1.457 GB, free: 6.914 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.5098, allocations: 164.4 kB / 1.458 GB, free: 6.715 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.5099, allocations: 30.02 kB / 1.458 GB, free: 6.68 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.5099, allocations: 4 kB / 1.458 GB, free: 6.676 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.51, allocations: 49.62 kB / 1.458 GB, free: 6.621 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.51, allocations: 3.984 kB / 1.458 GB, free: 6.617 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.51, allocations: 0 / 1.458 GB, free: 6.617 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.51, allocations: 0 / 1.458 GB, free: 6.617 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.5101, allocations: 15.98 kB / 1.458 GB, free: 6.602 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.5108, allocations: 0.6067 MB / 1.458 GB, free: 5.871 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.5109, allocations: 18.52 kB / 1.458 GB, free: 5.844 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.5109, allocations: 8.922 kB / 1.458 GB, free: 5.832 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.5111, allocations: 332.4 kB / 1.459 GB, free: 5.434 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5112, allocations: 30.56 kB / 1.459 GB, free: 5.395 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5112, allocations: 0 / 1.459 GB, free: 5.395 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.5113, allocations: 41.66 kB / 1.459 GB, free: 5.348 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.5114, allocations: 55.53 kB / 1.459 GB, free: 5.281 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.5114, allocations: 109.8 kB / 1.459 GB, free: 5.164 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5115, allocations: 25.7 kB / 1.459 GB, free: 5.133 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.5115, allocations: 88.03 kB / 1.459 GB, free: 5.043 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.5115, allocations: 3.938 kB / 1.459 GB, free: 5.039 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.5116, allocations: 21.7 kB / 1.459 GB, free: 5.012 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5117, allocations: 314.8 kB / 1.459 GB, free: 4.695 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.5117, allocations: 4 kB / 1.459 GB, free: 4.691 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.5117, allocations: 25.64 kB / 1.459 GB, free: 4.66 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.5118, allocations: 21.72 kB / 1.459 GB, free: 4.633 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5118, allocations: 0 / 1.459 GB, free: 4.633 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.9e-05/0.5119, allocations: 49.62 kB / 1.459 GB, free: 4.578 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.5119, allocations: 4 kB / 1.459 GB, free: 4.574 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5119, allocations: 0 / 1.459 GB, free: 4.574 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5119, allocations: 8.062 kB / 1.459 GB, free: 4.566 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.5119, allocations: 4 kB / 1.459 GB, free: 4.562 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5119, allocations: 0 / 1.459 GB, free: 4.562 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.5119, allocations: 7.891 kB / 1.459 GB, free: 4.555 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.512, allocations: 4 kB / 1.459 GB, free: 4.551 MB / 1.154 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.426e-05/0.512, allocations: 113.8 kB / 1.459 GB, free: 4.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.5121, allocations: 7.984 kB / 1.459 GB, free: 4.422 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.5122, allocations: 120.8 kB / 1.46 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.8e-05/0.5123, allocations: 180.3 kB / 1.46 GB, free: 4.105 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.942e-05/0.5123, allocations: 180.2 kB / 1.46 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-05/0.5124, allocations: 192.2 kB / 1.46 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.5127, allocations: 405.2 kB / 1.46 GB, free: 3.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/0.5127, allocations: 101 kB / 1.461 GB, free: 3.168 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.5128, allocations: 109 kB / 1.461 GB, free: 3.055 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.83e-05/0.5129, allocations: 184.2 kB / 1.461 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.5129, allocations: 176.3 kB / 1.461 GB, free: 2.688 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.918e-05/0.513, allocations: 184.2 kB / 1.461 GB, free: 2.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.205e-05/0.5131, allocations: 180.4 kB / 1.461 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.5133, allocations: 319.7 kB / 1.462 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.5134, allocations: 178.1 kB / 1.462 GB, free: 1.781 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.5134, allocations: 184.2 kB / 1.462 GB, free: 1.594 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.5136, allocations: 105 kB / 1.462 GB, free: 1.484 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.5137, allocations: 184.3 kB / 1.462 GB, free: 1.297 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.5137, allocations: 116.8 kB / 1.462 GB, free: 1.176 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.5138, allocations: 83.28 kB / 1.462 GB, free: 1.094 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5138, allocations: 0 / 1.462 GB, free: 1.094 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003133/0.5141, allocations: 59.73 kB / 1.463 GB, free: 1.035 MB / 1.154 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.0006374/0.5147, allocations: 0.8826 MB / 1.463 GB, free: 124 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.5148, allocations: 15.94 kB / 1.463 GB, free: 108 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5148, allocations: 0 / 1.463 GB, free: 108 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.5148, allocations: 8.125 kB / 1.463 GB, free: 100 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.5152, allocations: 463.6 kB / 1.464 GB, free: 15.64 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.5164, allocations: 1.34 MB / 1.465 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.5167, allocations: 0.6807 MB / 1.466 GB, free: 13.51 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.5167, allocations: 4 kB / 1.466 GB, free: 13.5 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.5167, allocations: 11.44 kB / 1.466 GB, free: 13.49 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/0.5167, allocations: 0 / 1.466 GB, free: 13.49 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.541, allocations: 2.22 MB / 1.468 GB, free: 11.37 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.195, allocations: 11.91 kB / 1.468 GB, free: 11.36 MB / 1.17 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.399418396875262]