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.00157/0.00157, allocations: 116.8 kB / 17.17 MB, free: 6 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.002423/0.002423, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.446/1.446, 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 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 2.881/2.881, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.002007/0.002007, allocations: 63.91 kB / 1.149 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/0.9162, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1645/1.081, allocations: 138.6 MB / 1.457 GB, free: 3.949 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0002445/1.081, allocations: 62.66 kB / 1.457 GB, free: 3.906 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/1.081, allocations: 0 / 1.457 GB, free: 3.906 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/1.081, allocations: 1.266 kB / 1.457 GB, free: 3.906 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/1.081, allocations: 9.875 kB / 1.457 GB, free: 3.902 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/1.082, allocations: 245 kB / 1.457 GB, free: 3.781 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.982e-05/1.082, allocations: 36.66 kB / 1.457 GB, free: 3.766 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/1.082, allocations: 2.906 kB / 1.457 GB, free: 3.766 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/1.082, allocations: 11.67 kB / 1.457 GB, free: 3.766 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/1.083, allocations: 21.11 kB / 1.457 GB, free: 3.758 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/1.083, allocations: 1.062 kB / 1.457 GB, free: 3.758 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/1.083, allocations: 251.6 kB / 1.457 GB, free: 3.664 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/1.083, allocations: 5.062 kB / 1.457 GB, free: 3.664 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/1.083, allocations: 13.81 kB / 1.457 GB, free: 3.656 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/1.084, allocations: 188.7 kB / 1.458 GB, free: 3.605 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.084, allocations: 5.094 kB / 1.458 GB, free: 3.602 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.674e-06/1.084, allocations: 0 / 1.458 GB, free: 3.602 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.002e-06/1.084, allocations: 0 / 1.458 GB, free: 3.602 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.0005385/1.084, allocations: 366.3 kB / 1.458 GB, free: 3.223 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.084, allocations: 13.64 kB / 1.458 GB, free: 3.219 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.102e-05/1.084, allocations: 1.531 kB / 1.458 GB, free: 3.219 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/1.084, allocations: 31.55 kB / 1.458 GB, free: 3.18 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/1.084, allocations: 2.25 kB / 1.458 GB, free: 3.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/1.085, allocations: 167.1 kB / 1.458 GB, free: 2.98 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/1.085, allocations: 31.08 kB / 1.458 GB, free: 2.945 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/1.085, allocations: 2.078 kB / 1.458 GB, free: 2.945 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/1.085, allocations: 46.56 kB / 1.458 GB, free: 2.906 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.085, allocations: 1.125 kB / 1.458 GB, free: 2.906 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.085, allocations: 0.7031 kB / 1.458 GB, free: 2.906 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/1.085, allocations: 1.375 kB / 1.458 GB, free: 2.906 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/1.085, allocations: 17.11 kB / 1.458 GB, free: 2.902 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/1.086, allocations: 0.6001 MB / 1.459 GB, free: 2.242 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/1.086, allocations: 16.36 kB / 1.459 GB, free: 2.219 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/1.086, allocations: 6.625 kB / 1.459 GB, free: 2.211 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/1.086, allocations: 342.2 kB / 1.459 GB, free: 1.824 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.086, allocations: 36.36 kB / 1.459 GB, free: 1.781 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/1.086, allocations: 4 kB / 1.459 GB, free: 1.777 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/1.086, allocations: 36.5 kB / 1.459 GB, free: 1.742 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.086, allocations: 53.5 kB / 1.459 GB, free: 1.68 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.379e-05/1.086, allocations: 110.7 kB / 1.459 GB, free: 1.57 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.086, allocations: 25.7 kB / 1.459 GB, free: 1.539 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/1.087, allocations: 90.42 kB / 1.46 GB, free: 1.449 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-06/1.087, allocations: 0.7969 kB / 1.46 GB, free: 1.449 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/1.087, allocations: 19.81 kB / 1.46 GB, free: 1.43 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.087, allocations: 315.7 kB / 1.46 GB, free: 1.113 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/1.087, allocations: 7.703 kB / 1.46 GB, free: 1.109 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/1.087, allocations: 22.98 kB / 1.46 GB, free: 1.086 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.015e-05/1.087, allocations: 17.3 kB / 1.46 GB, free: 1.07 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.087, allocations: 0.6562 kB / 1.46 GB, free: 1.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.768e-05/1.087, allocations: 56.97 kB / 1.46 GB, free: 1.023 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.087, allocations: 7.25 kB / 1.46 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.087, allocations: 0 / 1.46 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.087, allocations: 1.656 kB / 1.46 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/1.087, allocations: 5.328 kB / 1.46 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/1.087, allocations: 1.062 kB / 1.46 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/1.087, allocations: 9.172 kB / 1.46 GB, free: 1.016 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.087, allocations: 2.109 kB / 1.46 GB, free: 1.016 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 8.309e-05/1.087, allocations: 113.1 kB / 1.46 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/1.087, allocations: 5.188 kB / 1.46 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/1.087, allocations: 118 kB / 1.46 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-05/1.087, allocations: 178.5 kB / 1.46 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.5e-05/1.087, allocations: 186.2 kB / 1.461 GB, free: 412 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.56e-05/1.087, allocations: 182.3 kB / 1.461 GB, free: 224 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/1.088, allocations: 403.5 kB / 1.461 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/1.088, allocations: 114.1 kB / 1.461 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/1.088, allocations: 103.9 kB / 1.461 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-05/1.088, allocations: 180.2 kB / 1.462 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/1.088, allocations: 178.7 kB / 1.462 GB, free: 15.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.917e-05/1.088, allocations: 178.4 kB / 1.462 GB, free: 15.01 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-05/1.088, allocations: 186 kB / 1.462 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/1.088, allocations: 309.2 kB / 1.462 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/1.088, allocations: 180.6 kB / 1.463 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/1.088, allocations: 188.4 kB / 1.463 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/1.089, allocations: 116.3 kB / 1.463 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/1.089, allocations: 182.3 kB / 1.463 GB, free: 13.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/1.089, allocations: 107 kB / 1.463 GB, free: 13.7 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.749e-05/1.089, allocations: 81.62 kB / 1.463 GB, free: 13.63 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.089, allocations: 1.5 kB / 1.463 GB, free: 13.63 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003668/1.089, allocations: 54.08 kB / 1.463 GB, free: 13.61 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.0007065/1.09, allocations: 0.8887 MB / 1.464 GB, free: 12.77 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.28e-05/1.09, allocations: 18.75 kB / 1.464 GB, free: 12.76 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.09, allocations: 4.906 kB / 1.464 GB, free: 12.75 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/1.09, allocations: 0 / 1.464 GB, free: 12.75 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/1.09, allocations: 464.4 kB / 1.465 GB, free: 12.3 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/1.091, allocations: 1.352 MB / 1.466 GB, free: 10.95 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/1.092, allocations: 0.674 MB / 1.467 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.844e-05/1.092, allocations: 9.188 kB / 1.467 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/1.092, allocations: 10.92 kB / 1.467 GB, free: 10.24 MB / 1.154 GB Notification: Performance of SimCode: time 3.31e-07/1.092, allocations: 0 / 1.467 GB, free: 10.24 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/1.111, allocations: 2.252 MB / 1.469 GB, free: 9.582 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/9.038, allocations: 22.44 kB / 1.469 GB, free: 9.57 MB / 1.154 GB " [Timeout remaining time 291] (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: 15.319624238996767]