Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.00148/0.00148, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001572/0.001572, allocations: 215 kB / 23.03 MB, free: 4.926 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.081/3.081, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.001918/0.001918, allocations: 65.34 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3348, allocations: 179 MB / 1.345 GB, free: 16 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006174/0.341, allocations: 3.901 MB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000252/0.3413, allocations: 151.5 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.3413, allocations: 0 / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3414, allocations: 0 / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.3415, allocations: 15.91 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.3419, allocations: 90.86 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.342, allocations: 35.84 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.342, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.342, allocations: 11.98 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.3421, allocations: 27.84 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3421, allocations: 0 / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.3423, allocations: 43.83 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.3424, allocations: 15.97 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.3424, allocations: 4 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3426, allocations: 60.09 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3426, allocations: 7.984 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3426, allocations: 0 / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3426, allocations: 0 / 1.35 GB, free: 11.61 MB / 1.045 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.0004087/0.343, allocations: 254.3 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3431, allocations: 12.03 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.406e-05/0.3431, allocations: 192 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.3431, allocations: 30.75 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.3431, allocations: 8.875 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3433, allocations: 106.5 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.3433, allocations: 59.97 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3433, allocations: 3.938 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3435, allocations: 75.36 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3435, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3435, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.3435, allocations: 4 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.3436, allocations: 15.98 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.344, allocations: 231.9 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.346e-05/0.344, allocations: 22.52 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.3441, allocations: 4.859 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.3441, allocations: 8.047 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3441, allocations: 42.56 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3441, allocations: 0 / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.3443, allocations: 33.64 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3443, allocations: 59.34 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.3444, allocations: 101.8 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3444, allocations: 25.7 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3445, allocations: 88.09 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.3445, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.3445, allocations: 21.67 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3447, allocations: 318.8 kB / 1.351 GB, free: 9.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.3447, allocations: 8.125 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.3447, allocations: 17.72 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.3448, allocations: 21.7 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3448, allocations: 0 / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.394e-05/0.3449, allocations: 45.64 kB / 1.351 GB, free: 9.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3449, allocations: 4 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3449, allocations: 3.984 kB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3449, allocations: 4 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.3449, allocations: 8.062 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3449, allocations: 0 / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.345, allocations: 0 / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.345, allocations: 11.88 kB / 1.351 GB, free: 9.766 MB / 1.045 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.739e-05/0.345, allocations: 113.8 kB / 1.351 GB, free: 9.645 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.3451, allocations: 4 kB / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3452, allocations: 120.9 kB / 1.351 GB, free: 9.512 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/0.3453, allocations: 180.2 kB / 1.351 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.06e-05/0.3453, allocations: 180.3 kB / 1.352 GB, free: 9.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-05/0.3454, allocations: 188.3 kB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.3456, allocations: 380.2 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/0.3457, allocations: 109.2 kB / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.3457, allocations: 112.9 kB / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/0.3458, allocations: 180.3 kB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.3459, allocations: 176.3 kB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.362e-05/0.346, allocations: 180.2 kB / 1.353 GB, free: 7.754 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.309e-05/0.346, allocations: 180.3 kB / 1.353 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.3462, allocations: 319.6 kB / 1.353 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.3462, allocations: 105 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.3463, allocations: 180.2 kB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3465, allocations: 117 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.3466, allocations: 184.1 kB / 1.354 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.3466, allocations: 101 kB / 1.354 GB, free: 6.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.542e-05/0.3467, allocations: 91.2 kB / 1.354 GB, free: 6.438 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3467, allocations: 0 / 1.354 GB, free: 6.438 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002489/0.3469, allocations: 19.94 kB / 1.354 GB, free: 6.418 MB / 1.045 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.0004888/0.3474, allocations: 0.8165 MB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.397e-05/0.3475, allocations: 11.98 kB / 1.355 GB, free: 5.559 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3475, allocations: 0 / 1.355 GB, free: 5.559 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.3475, allocations: 4.125 kB / 1.355 GB, free: 5.555 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.348, allocations: 466.4 kB / 1.355 GB, free: 5.098 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3491, allocations: 1.325 MB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.3492, allocations: 59.34 kB / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.3492, allocations: 4 kB / 1.357 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.3492, allocations: 15.42 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.3492, allocations: 0 / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.371, allocations: 1.686 MB / 1.358 GB, free: 2.047 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.04, allocations: 7.25 kB / 1.358 GB, free: 2.043 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 17.46969962201547]