Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001955/0.001954, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.002304/0.002304, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.45/1.45, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.145/3.145, allocations: 489 MB / 0.7678 GB, free: 29.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 1.101 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7745, allocations: 163.8 MB / 1.261 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1639/0.9385, allocations: 135.4 MB / 1.393 GB, free: 15.19 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001999/0.9387, allocations: 63.86 kB / 1.393 GB, free: 15.13 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.9388, allocations: 0 / 1.393 GB, free: 15.13 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.9389, allocations: 3.938 kB / 1.393 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.939, allocations: 15.91 kB / 1.393 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.9398, allocations: 235 kB / 1.394 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.9399, allocations: 27.92 kB / 1.394 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.94, allocations: 11.88 kB / 1.394 GB, free: 14.84 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.94, allocations: 15.97 kB / 1.394 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.9401, allocations: 12 kB / 1.394 GB, free: 14.81 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.9401, allocations: 0 / 1.394 GB, free: 14.81 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.9406, allocations: 239.4 kB / 1.394 GB, free: 14.58 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.9407, allocations: 7.984 kB / 1.394 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.9407, allocations: 15.92 kB / 1.394 GB, free: 14.55 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.9411, allocations: 182.5 kB / 1.394 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9411, allocations: 8 kB / 1.394 GB, free: 14.37 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9411, allocations: 0 / 1.394 GB, free: 14.37 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.9411, allocations: 0 / 1.394 GB, free: 14.37 MB / 1.107 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.0005002/0.9416, allocations: 359.2 kB / 1.394 GB, free: 13.97 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.9417, allocations: 8.031 kB / 1.394 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.9417, allocations: 34.69 kB / 1.394 GB, free: 13.92 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.9418, allocations: 8.922 kB / 1.394 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9419, allocations: 164.3 kB / 1.395 GB, free: 13.71 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.942, allocations: 34.02 kB / 1.395 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.942, allocations: 4 kB / 1.395 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.9421, allocations: 45.67 kB / 1.395 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9421, allocations: 0 / 1.395 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9422, allocations: 0 / 1.395 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.9422, allocations: 0 / 1.395 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.9422, allocations: 19.98 kB / 1.395 GB, free: 13.6 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.9431, allocations: 0.6027 MB / 1.395 GB, free: 12.88 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.9432, allocations: 14.58 kB / 1.395 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.9432, allocations: 8.922 kB / 1.395 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.9435, allocations: 336.3 kB / 1.396 GB, free: 12.44 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.9435, allocations: 34.56 kB / 1.396 GB, free: 12.39 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 4.929e-06/0.9435, allocations: 7.984 kB / 1.396 GB, free: 12.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.9437, allocations: 41.62 kB / 1.396 GB, free: 12.34 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.9437, allocations: 51.41 kB / 1.396 GB, free: 12.28 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.9438, allocations: 105.8 kB / 1.396 GB, free: 12.16 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.9438, allocations: 25.7 kB / 1.396 GB, free: 12.13 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.9439, allocations: 84.09 kB / 1.396 GB, free: 12.05 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.9439, allocations: 3.938 kB / 1.396 GB, free: 12.04 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.9439, allocations: 17.72 kB / 1.396 GB, free: 12.02 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.9441, allocations: 322.8 kB / 1.396 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.9441, allocations: 4.125 kB / 1.396 GB, free: 11.69 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.9442, allocations: 17.72 kB / 1.396 GB, free: 11.67 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.9442, allocations: 21.66 kB / 1.396 GB, free: 11.64 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9442, allocations: 0 / 1.396 GB, free: 11.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.099e-05/0.9443, allocations: 49.64 kB / 1.396 GB, free: 11.59 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9443, allocations: 4 kB / 1.396 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.9443, allocations: 8.062 kB / 1.396 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9444, allocations: 0 / 1.396 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.9444, allocations: 15.92 kB / 1.396 GB, free: 11.56 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.9444, allocations: 0 / 1.396 GB, free: 11.56 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.9445, allocations: 7.938 kB / 1.396 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.9445, allocations: 0 / 1.396 GB, free: 11.55 MB / 1.107 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 0.0001007/0.9446, allocations: 109.8 kB / 1.396 GB, free: 11.43 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.9446, allocations: 4 kB / 1.396 GB, free: 11.43 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.9447, allocations: 121 kB / 1.397 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.865e-05/0.9448, allocations: 180.2 kB / 1.397 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.432e-05/0.9449, allocations: 180.3 kB / 1.397 GB, free: 10.94 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.276e-05/0.945, allocations: 184.1 kB / 1.397 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.9453, allocations: 405.2 kB / 1.398 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.272e-05/0.9454, allocations: 109 kB / 1.398 GB, free: 10.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.9454, allocations: 112.9 kB / 1.398 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8e-05/0.9455, allocations: 180.3 kB / 1.398 GB, free: 9.883 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/0.9456, allocations: 180.2 kB / 1.398 GB, free: 9.699 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.535e-05/0.9457, allocations: 176.3 kB / 1.398 GB, free: 9.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.845e-05/0.9458, allocations: 180.3 kB / 1.398 GB, free: 9.336 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.946, allocations: 319.6 kB / 1.399 GB, free: 9 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.9461, allocations: 186.2 kB / 1.399 GB, free: 8.793 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9462, allocations: 176.3 kB / 1.399 GB, free: 8.613 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.9464, allocations: 117 kB / 1.399 GB, free: 8.492 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.9465, allocations: 184.2 kB / 1.399 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.9465, allocations: 108.9 kB / 1.399 GB, free: 8.191 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.9466, allocations: 83.27 kB / 1.4 GB, free: 8.109 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9466, allocations: 0 / 1.4 GB, free: 8.109 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003491/0.947, allocations: 51.81 kB / 1.4 GB, free: 8.059 MB / 1.107 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.000713/0.9477, allocations: 0.8828 MB / 1.4 GB, free: 7.145 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.9478, allocations: 12 kB / 1.4 GB, free: 7.133 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.9478, allocations: 4.125 kB / 1.4 GB, free: 7.129 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.9478, allocations: 7.875 kB / 1.4 GB, free: 7.121 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.9483, allocations: 469.3 kB / 1.401 GB, free: 6.66 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.9495, allocations: 1.344 MB / 1.402 GB, free: 5.227 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.9499, allocations: 0.6811 MB / 1.403 GB, free: 4.52 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.065e-05/0.9499, allocations: 4 kB / 1.403 GB, free: 4.516 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.9499, allocations: 11.44 kB / 1.403 GB, free: 4.504 MB / 1.107 GB Notification: Performance of SimCode: time 3.91e-07/0.95, allocations: 0 / 1.403 GB, free: 4.504 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.9734, allocations: 2.217 MB / 1.405 GB, free: 2.402 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.994, allocations: 7.938 kB / 1.405 GB, free: 2.398 MB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.093156460905448]