Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 196.5 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.83 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8069, allocations: 160.7 MB / 1.213 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1641/0.971, allocations: 135.8 MB / 1.345 GB, free: 15.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.9712, allocations: 59.8 kB / 1.346 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.9712, allocations: 0 / 1.346 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.9713, allocations: 8 kB / 1.346 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.9714, allocations: 11.91 kB / 1.346 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.9722, allocations: 244.2 kB / 1.346 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.724e-05/0.9723, allocations: 27.86 kB / 1.346 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.9723, allocations: 8 kB / 1.346 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.9724, allocations: 23.8 kB / 1.346 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.9725, allocations: 8 kB / 1.346 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.9725, allocations: 0 / 1.346 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.973, allocations: 255.4 kB / 1.346 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.973, allocations: 15.92 kB / 1.346 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.973, allocations: 7.984 kB / 1.346 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.9734, allocations: 181.4 kB / 1.346 GB, free: 15.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9734, allocations: 0 / 1.346 GB, free: 15.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9734, allocations: 0 / 1.346 GB, free: 15.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9734, allocations: 7.938 kB / 1.346 GB, free: 15.15 MB / 1.061 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.00043/0.9738, allocations: 369.4 kB / 1.347 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.9738, allocations: 12.92 kB / 1.347 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.9739, allocations: 30.75 kB / 1.347 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.9739, allocations: 0.9375 kB / 1.347 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.974, allocations: 160.4 kB / 1.347 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.554e-05/0.9741, allocations: 34.02 kB / 1.347 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.9741, allocations: 4 kB / 1.347 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.9742, allocations: 49.61 kB / 1.347 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.9742, allocations: 4 kB / 1.347 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.9742, allocations: 0 / 1.347 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.9743, allocations: 4 kB / 1.347 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.9743, allocations: 15.98 kB / 1.347 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.9751, allocations: 0.6027 MB / 1.348 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.931e-05/0.9751, allocations: 18.58 kB / 1.348 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.9752, allocations: 8.797 kB / 1.348 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.9754, allocations: 344.4 kB / 1.348 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.9755, allocations: 30.56 kB / 1.348 GB, free: 13.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9755, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.9756, allocations: 33.7 kB / 1.348 GB, free: 13.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.9756, allocations: 51.53 kB / 1.348 GB, free: 13.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.9757, allocations: 109.8 kB / 1.348 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.9758, allocations: 25.7 kB / 1.348 GB, free: 12.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.9758, allocations: 88.09 kB / 1.348 GB, free: 12.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-06/0.9758, allocations: 4 kB / 1.348 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.9759, allocations: 17.7 kB / 1.348 GB, free: 12.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.976, allocations: 314.8 kB / 1.349 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.976, allocations: 7.938 kB / 1.349 GB, free: 12.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.976, allocations: 25.7 kB / 1.349 GB, free: 12.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.9761, allocations: 17.72 kB / 1.349 GB, free: 12.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9761, allocations: 0 / 1.349 GB, free: 12.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.035e-05/0.9762, allocations: 53.58 kB / 1.349 GB, free: 12.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.9762, allocations: 4 kB / 1.349 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9762, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.9762, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.9762, allocations: 12.06 kB / 1.349 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.9762, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.9763, allocations: 7.938 kB / 1.349 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-06/0.9763, allocations: 4 kB / 1.349 GB, free: 12.33 MB / 1.061 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 7.884e-05/0.9764, allocations: 110.7 kB / 1.349 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.9764, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.9765, allocations: 116.9 kB / 1.349 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-05/0.9766, allocations: 188.2 kB / 1.349 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.273e-05/0.9767, allocations: 188.2 kB / 1.349 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-05/0.9767, allocations: 180.2 kB / 1.349 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.977, allocations: 405.2 kB / 1.35 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.9771, allocations: 104.9 kB / 1.35 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.9771, allocations: 101 kB / 1.35 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.859e-05/0.9772, allocations: 188.2 kB / 1.35 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.9773, allocations: 180.3 kB / 1.35 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-05/0.9773, allocations: 180.2 kB / 1.351 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.84e-05/0.9774, allocations: 188.1 kB / 1.351 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.9776, allocations: 307.7 kB / 1.351 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.663e-05/0.9777, allocations: 190.3 kB / 1.351 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.9778, allocations: 188.1 kB / 1.351 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.9779, allocations: 113 kB / 1.351 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.978, allocations: 180.2 kB / 1.352 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.9781, allocations: 112.9 kB / 1.352 GB, free: 8.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.9781, allocations: 83.28 kB / 1.352 GB, free: 8.879 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9781, allocations: 0 / 1.352 GB, free: 8.879 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000315/0.9784, allocations: 55.8 kB / 1.352 GB, free: 8.824 MB / 1.061 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.000702/0.9792, allocations: 0.8788 MB / 1.353 GB, free: 7.914 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.193e-05/0.9792, allocations: 11.94 kB / 1.353 GB, free: 7.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9792, allocations: 0 / 1.353 GB, free: 7.902 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-06/0.9792, allocations: 4 kB / 1.353 GB, free: 7.898 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.9797, allocations: 466.7 kB / 1.353 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.9808, allocations: 1.344 MB / 1.355 GB, free: 6.012 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.9811, allocations: 0.6806 MB / 1.355 GB, free: 5.305 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.9811, allocations: 8 kB / 1.355 GB, free: 5.297 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.9812, allocations: 7.438 kB / 1.355 GB, free: 5.289 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.9812, allocations: 4 kB / 1.355 GB, free: 5.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/1.006, allocations: 2.21 MB / 1.357 GB, free: 3.172 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/9.069, allocations: 29.14 kB / 1.357 GB, free: 3.145 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.866111161187291]