Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001618/0.001618, allocations: 113 kB / 18.94 MB, free: 2.957 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.001984/0.001984, allocations: 213.6 kB / 22.25 MB, free: 5.121 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 8.004 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.3/3.3, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.00201/0.00201, allocations: 72.02 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3574, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005989/0.3634, allocations: 4.126 MB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.3636, allocations: 163.5 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.3636, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.481e-05/0.3637, allocations: 7.938 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.42e-05/0.3638, allocations: 15.91 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.3642, allocations: 87.73 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.3642, allocations: 27.86 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.3643, allocations: 7.984 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.3643, allocations: 12 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.3644, allocations: 11.92 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3644, allocations: 7.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.3646, allocations: 75.77 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.3646, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.3647, allocations: 7.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.3648, allocations: 76.06 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3648, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3648, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3648, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 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.0003777/0.3652, allocations: 266.3 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3653, allocations: 8.031 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.3653, allocations: 30.75 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.3653, allocations: 4.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3654, allocations: 102.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.3655, allocations: 55.97 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.3655, allocations: 12.06 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3657, allocations: 45.62 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3657, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3657, allocations: 3.984 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.3657, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.3657, allocations: 8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3662, allocations: 235.9 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.758e-05/0.3662, allocations: 18.58 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.3662, allocations: 8.922 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.3663, allocations: 11.92 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3663, allocations: 34.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3663, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.3664, allocations: 41.66 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.3665, allocations: 55.53 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.3666, allocations: 97.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3666, allocations: 29.7 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.3666, allocations: 88.09 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-06/0.3666, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.3667, allocations: 17.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3668, allocations: 318.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.3668, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.3669, allocations: 29.67 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.3669, allocations: 25.72 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3669, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.116e-05/0.367, allocations: 49.62 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.367, allocations: 4 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.367, allocations: 3.984 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.367, allocations: 8.062 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.367, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3671, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.3671, allocations: 3.953 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3671, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 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.808e-05/0.3672, allocations: 110.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3672, allocations: 7.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.3673, allocations: 124.9 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.66e-05/0.3674, allocations: 180.3 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.271e-05/0.3675, allocations: 184.1 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.404e-05/0.3676, allocations: 180.2 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3678, allocations: 380.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/0.3679, allocations: 104.9 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.3679, allocations: 105 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-05/0.368, allocations: 188.2 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.3681, allocations: 180.3 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.982e-05/0.3682, allocations: 176.3 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.036e-05/0.3683, allocations: 184.2 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3685, allocations: 315.7 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.3685, allocations: 101 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3686, allocations: 180.2 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3688, allocations: 108.9 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.3689, allocations: 180.3 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/0.3689, allocations: 108.9 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.734e-05/0.369, allocations: 91.2 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00026/0.3692, allocations: 19.88 kB / 1.335 GB, free: 8.148 MB / 1.029 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.0005842/0.3698, allocations: 0.8323 MB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.3699, allocations: 7.938 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3699, allocations: 0 / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.3699, allocations: 4 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3704, allocations: 459.7 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3717, allocations: 1.329 MB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.372, allocations: 0.6729 MB / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.3721, allocations: 7.984 kB / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3721, allocations: 15.38 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3721, allocations: 4 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.402, allocations: 1.588 MB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 11.27 kB / 1.34 GB, free: 3.219 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.50068831606768]