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.001343/0.001343, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001451/0.001451, allocations: 220.3 kB / 22.25 MB, free: 5.254 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.781 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.177/3.177, allocations: 0.49 GB / 0.7951 GB, free: 35.41 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.002104/0.002104, allocations: 62.03 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006309/0.3709, allocations: 3.901 MB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.3712, allocations: 147.6 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.3712, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3713, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.052e-05/0.3714, allocations: 15.91 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.3718, allocations: 91.42 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.3719, allocations: 35.84 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.372, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.372, allocations: 15.94 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.3721, allocations: 19.97 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.3721, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.3723, allocations: 51.75 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.3724, allocations: 11.98 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.3724, allocations: 11.92 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.3725, allocations: 56.16 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3726, allocations: 3.938 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3726, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3726, allocations: 0 / 1.33 GB, free: 13.11 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.0004105/0.373, allocations: 270.2 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.373, allocations: 8.031 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.3731, allocations: 30.75 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3731, allocations: 4.938 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3732, allocations: 106.5 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.3733, allocations: 51.97 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3733, allocations: 16.12 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3734, allocations: 71.31 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3735, allocations: 3.984 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3735, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.3735, allocations: 8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.3735, allocations: 15.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.374, allocations: 227.9 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.374, allocations: 18.58 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.374, allocations: 12.84 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.3741, allocations: 4 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3741, allocations: 34.56 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.3741, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.3743, allocations: 37.78 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3743, allocations: 55.41 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.3744, allocations: 105.8 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3745, allocations: 25.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.3745, allocations: 88.03 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-06/0.3745, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.3746, allocations: 21.7 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3747, allocations: 314.8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.3747, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.3747, allocations: 17.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.3748, allocations: 21.72 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3748, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.904e-05/0.3749, allocations: 53.62 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3749, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3749, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3749, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.375, allocations: 11.94 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.375, allocations: 3.984 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.375, allocations: 3.953 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.375, allocations: 4.062 kB / 1.332 GB, free: 11.26 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 9.268e-05/0.3751, allocations: 122.3 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3751, allocations: 7.938 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.3752, allocations: 112.9 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/0.3753, allocations: 180.3 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.481e-05/0.3754, allocations: 184.2 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-05/0.3755, allocations: 180.3 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3758, allocations: 376.2 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.3758, allocations: 109 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.3759, allocations: 105 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.635e-05/0.3759, allocations: 188.2 kB / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/0.376, allocations: 180.3 kB / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-05/0.3761, allocations: 180.2 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-05/0.3762, allocations: 180.2 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.3764, allocations: 311.7 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3764, allocations: 101 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3765, allocations: 192.2 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3767, allocations: 105 kB / 1.334 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.3768, allocations: 180.3 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.3768, allocations: 104.9 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.3769, allocations: 91.27 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3769, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002635/0.3772, allocations: 19.88 kB / 1.335 GB, free: 7.922 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.0005416/0.3777, allocations: 0.8243 MB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.3778, allocations: 11.94 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3778, allocations: 0 / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3778, allocations: 0 / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.3783, allocations: 460.5 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.3795, allocations: 1.337 MB / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.3795, allocations: 59.36 kB / 1.337 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.695e-05/0.3796, allocations: 12.02 kB / 1.337 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.3796, allocations: 7.438 kB / 1.337 GB, free: 5.082 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3796, allocations: 0 / 1.337 GB, free: 5.082 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.4079, allocations: 2.054 MB / 1.339 GB, free: 3.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 11.98 kB / 1.339 GB, free: 3.148 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.350888119020965]