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.001237/0.001237, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001429/0.001429, allocations: 210.5 kB / 23 MB, free: 4.934 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.321/3.321, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.00211/0.00211, allocations: 64.36 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005959/0.3287, allocations: 3.901 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000212/0.3289, allocations: 151.6 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.3289, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.35e-05/0.329, allocations: 3.938 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.3291, allocations: 15.88 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.3295, allocations: 83.73 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.3296, allocations: 39.78 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.3296, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.017e-05/0.3296, allocations: 23.97 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.3297, allocations: 7.984 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3297, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3299, allocations: 51.81 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.3299, allocations: 15.92 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.33, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3301, allocations: 67.73 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3301, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3301, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.3301, allocations: 0 / 1.331 GB, free: 12.56 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.0003819/0.3305, allocations: 264.2 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3306, allocations: 8.031 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.3306, allocations: 4.938 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.3307, allocations: 106.5 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.3308, allocations: 59.97 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3308, allocations: 384 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3309, allocations: 67.33 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3309, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3309, allocations: 4 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.331, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.331, allocations: 19.92 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3314, allocations: 212.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.3314, allocations: 18.58 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.3315, allocations: 8.859 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.3315, allocations: 4.062 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.3315, allocations: 34.56 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3316, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.3317, allocations: 45.58 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3317, allocations: 55.41 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.3318, allocations: 97.86 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3318, allocations: 25.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.3319, allocations: 92.08 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.3319, allocations: 128 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3319, allocations: 21.72 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3321, allocations: 310.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.3321, allocations: 7.984 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.3321, allocations: 13.72 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.3322, allocations: 29.59 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3322, allocations: 3.938 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.213e-05/0.3323, allocations: 49.62 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3323, allocations: 7.938 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3323, allocations: 4.062 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3323, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.3323, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3323, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.3324, allocations: 7.938 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3324, allocations: 4.281 kB / 1.333 GB, free: 10.8 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 8.541e-05/0.3325, allocations: 113.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3325, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.3326, allocations: 124.9 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/0.3327, allocations: 184.2 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-05/0.3327, allocations: 101 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.3328, allocations: 112.9 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3329, allocations: 176.3 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3331, allocations: 112.9 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.3332, allocations: 180.2 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001185/0.3333, allocations: 259.5 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002075/0.3335, allocations: 383 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.454e-05/0.3335, allocations: 108.9 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.3336, allocations: 83.28 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.3336, allocations: 4 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.334, allocations: 106.3 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006673/0.3347, allocations: 0.8601 MB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of Templates: time 0.002933/0.3376, allocations: 0.5858 MB / 1.336 GB, free: 7.195 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] 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: 8.617206319002435]