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.001436/0.001436, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001654/0.001654, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.793 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.24/3.24, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] 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.002171/0.002171, allocations: 64.39 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3407, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1587/0.4994, allocations: 119 MB / 1.442 GB, free: 10.06 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001986/0.4996, allocations: 55.86 kB / 1.442 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.4996, allocations: 0 / 1.442 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.4997, allocations: 0 / 1.442 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.4998, allocations: 15.91 kB / 1.442 GB, free: 9.992 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.5007, allocations: 245.1 kB / 1.442 GB, free: 9.754 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.5008, allocations: 31.84 kB / 1.442 GB, free: 9.723 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.5009, allocations: 8 kB / 1.442 GB, free: 9.715 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.501, allocations: 19.91 kB / 1.442 GB, free: 9.695 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.501, allocations: 15.92 kB / 1.442 GB, free: 9.68 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.5011, allocations: 0 / 1.442 GB, free: 9.68 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.5015, allocations: 179.5 kB / 1.443 GB, free: 9.504 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.5015, allocations: 11.98 kB / 1.443 GB, free: 9.492 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.5015, allocations: 11.92 kB / 1.443 GB, free: 9.48 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.5019, allocations: 167.8 kB / 1.443 GB, free: 9.316 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5019, allocations: 4 kB / 1.443 GB, free: 9.312 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5019, allocations: 3.938 kB / 1.443 GB, free: 9.309 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.5019, allocations: 0 / 1.443 GB, free: 9.309 MB / 1.139 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.0004443/0.5023, allocations: 282 kB / 1.443 GB, free: 9.004 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5024, allocations: 12.03 kB / 1.443 GB, free: 8.992 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.5024, allocations: 30.75 kB / 1.443 GB, free: 8.953 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.5025, allocations: 8.922 kB / 1.443 GB, free: 8.945 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5026, allocations: 106.5 kB / 1.443 GB, free: 8.816 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/0.5027, allocations: 59.66 kB / 1.443 GB, free: 8.746 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.5027, allocations: 0 / 1.443 GB, free: 8.746 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5028, allocations: 71.39 kB / 1.443 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5028, allocations: 0 / 1.443 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5028, allocations: 0 / 1.443 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.5029, allocations: 0 / 1.443 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.5029, allocations: 15.98 kB / 1.443 GB, free: 8.648 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.5036, allocations: 283.9 kB / 1.444 GB, free: 8.328 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.5037, allocations: 22.5 kB / 1.444 GB, free: 8.297 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.5037, allocations: 8.844 kB / 1.444 GB, free: 8.285 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.5038, allocations: 32.05 kB / 1.444 GB, free: 8.254 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5038, allocations: 30.56 kB / 1.444 GB, free: 8.215 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5038, allocations: 0 / 1.444 GB, free: 8.215 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001584/0.504, allocations: 37.69 kB / 1.444 GB, free: 8.172 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.504, allocations: 51.41 kB / 1.444 GB, free: 8.109 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.5041, allocations: 105.8 kB / 1.444 GB, free: 7.996 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5041, allocations: 33.83 kB / 1.444 GB, free: 7.957 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.5042, allocations: 96.02 kB / 1.444 GB, free: 7.859 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.5042, allocations: 0 / 1.444 GB, free: 7.859 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.5042, allocations: 17.66 kB / 1.444 GB, free: 7.836 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5044, allocations: 314.8 kB / 1.444 GB, free: 7.52 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.5044, allocations: 11.98 kB / 1.444 GB, free: 7.508 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.5044, allocations: 13.72 kB / 1.444 GB, free: 7.488 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.5045, allocations: 21.72 kB / 1.444 GB, free: 7.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5045, allocations: 0 / 1.444 GB, free: 7.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.37e-05/0.5046, allocations: 53.62 kB / 1.444 GB, free: 7.402 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5046, allocations: 8 kB / 1.444 GB, free: 7.395 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5046, allocations: 0 / 1.444 GB, free: 7.395 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5046, allocations: 3.938 kB / 1.444 GB, free: 7.391 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.5046, allocations: 4 kB / 1.444 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.5047, allocations: 7.984 kB / 1.444 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.5047, allocations: 11.89 kB / 1.444 GB, free: 7.367 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.5047, allocations: 0 / 1.444 GB, free: 7.367 MB / 1.139 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.854e-05/0.5048, allocations: 114.3 kB / 1.445 GB, free: 7.246 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.5048, allocations: 4.062 kB / 1.445 GB, free: 7.242 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.505, allocations: 121 kB / 1.445 GB, free: 7.113 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.347e-05/0.5051, allocations: 176.3 kB / 1.445 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-05/0.5052, allocations: 184.2 kB / 1.445 GB, free: 6.746 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.884e-05/0.5052, allocations: 180.2 kB / 1.445 GB, free: 6.562 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.5055, allocations: 380.2 kB / 1.446 GB, free: 6.141 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.473e-05/0.5056, allocations: 101 kB / 1.446 GB, free: 6.035 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.5056, allocations: 105 kB / 1.446 GB, free: 5.926 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/0.5057, allocations: 184.2 kB / 1.446 GB, free: 5.738 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.5058, allocations: 176.3 kB / 1.446 GB, free: 5.559 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.585e-05/0.5058, allocations: 196.2 kB / 1.446 GB, free: 5.359 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.97e-05/0.5059, allocations: 176.5 kB / 1.446 GB, free: 5.18 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.5061, allocations: 307.7 kB / 1.447 GB, free: 4.855 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.5062, allocations: 113 kB / 1.447 GB, free: 4.738 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5063, allocations: 180.2 kB / 1.447 GB, free: 4.555 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5064, allocations: 105 kB / 1.447 GB, free: 4.445 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.5065, allocations: 180.2 kB / 1.447 GB, free: 4.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.5066, allocations: 112.9 kB / 1.447 GB, free: 4.145 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.5066, allocations: 83.28 kB / 1.447 GB, free: 4.062 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5066, allocations: 0 / 1.447 GB, free: 4.062 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003474/0.507, allocations: 59.73 kB / 1.448 GB, free: 4.004 MB / 1.139 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.0007233/0.5077, allocations: 0.8904 MB / 1.448 GB, free: 3.082 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.5078, allocations: 4 kB / 1.448 GB, free: 3.078 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5078, allocations: 0 / 1.448 GB, free: 3.078 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5078, allocations: 4.125 kB / 1.448 GB, free: 3.074 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.5082, allocations: 473.3 kB / 1.449 GB, free: 2.609 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.5095, allocations: 1.34 MB / 1.45 GB, free: 1.184 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.489e-05/0.5095, allocations: 59.34 kB / 1.45 GB, free: 1.105 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.5096, allocations: 4 kB / 1.45 GB, free: 1.102 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.5096, allocations: 15.44 kB / 1.45 GB, free: 1.086 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/0.5096, allocations: 3.938 kB / 1.45 GB, free: 1.082 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.5396, allocations: 2.778 MB / 1.453 GB, free: 14.43 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.65, allocations: 6.812 kB / 1.453 GB, free: 14.43 MB / 1.154 GB " [Timeout remaining time 288] (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: 18.395634649001295]