Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002461/0.002461, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002081/0.002081, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.615/1.615, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.942/2.942, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0.6562 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.171e-05, allocations: 3.438 kB / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007216/0.007247, allocations: 4.131 MB / 0.7904 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.007504, allocations: 154.1 kB / 0.7905 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.007534, allocations: 3.938 kB / 0.7905 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.007643, allocations: 0 / 0.7905 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.229e-05/0.007735, allocations: 19.86 kB / 0.7905 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.008124, allocations: 78.06 kB / 0.7906 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.008221, allocations: 39.84 kB / 0.7907 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.008256, allocations: 0 / 0.7907 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.008331, allocations: 27.91 kB / 0.7907 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.008403, allocations: 9.734 kB / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.008423, allocations: 4 kB / 0.7907 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.008642, allocations: 59.73 kB / 0.7908 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.008695, allocations: 8 kB / 0.7908 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.008726, allocations: 9.047 kB / 0.7908 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.008904, allocations: 63.75 kB / 0.7908 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.008907, allocations: 0 / 0.7908 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.008908, allocations: 1.594 kB / 0.7908 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.008913, allocations: 0 / 0.7908 GB, free: 8.227 MB / 0.7448 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.0004901/0.009403, allocations: 368.3 kB / 0.7912 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.009439, allocations: 8.031 kB / 0.7912 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.00949, allocations: 2.938 kB / 0.7912 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.009624, allocations: 116.6 kB / 0.7913 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.009748, allocations: 51.97 kB / 0.7914 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.00977, allocations: 4.375 kB / 0.7914 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.009972, allocations: 68.48 kB / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.009984, allocations: 192 / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.01001, allocations: 8.453 kB / 0.7914 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.01003, allocations: 0 / 0.7914 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.0101, allocations: 12.7 kB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.01073, allocations: 256.4 kB / 0.7917 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/0.01081, allocations: 27.06 kB / 0.7917 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.01085, allocations: 13.09 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.01093, allocations: 8.062 kB / 0.7917 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.01098, allocations: 41.31 kB / 0.7918 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.01098, allocations: 0.5312 kB / 0.7918 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002198/0.0112, allocations: 43.02 kB / 0.7918 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.01125, allocations: 51.41 kB / 0.7919 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.01145, allocations: 161.9 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.01148, allocations: 26.86 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.01161, allocations: 134.8 kB / 0.7922 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.01162, allocations: 7.891 kB / 0.7922 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.01169, allocations: 24.75 kB / 0.7922 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003601/0.01205, allocations: 496.1 kB / 0.7927 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.01207, allocations: 4 kB / 0.7927 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.01212, allocations: 24.22 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.01219, allocations: 28.22 kB / 0.7927 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01219, allocations: 0 / 0.7927 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001399/0.01233, allocations: 58.91 kB / 0.7928 GB, free: 6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.01236, allocations: 4 kB / 0.7928 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01236, allocations: 0 / 0.7928 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.01239, allocations: 0.5938 kB / 0.7928 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.01245, allocations: 11.98 kB / 0.7928 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.01246, allocations: 0.5938 kB / 0.7928 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.01249, allocations: 1.844 kB / 0.7928 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.0125, allocations: 4 kB / 0.7928 GB, free: 5.98 MB / 0.7448 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.0001465/0.01265, allocations: 152.6 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.0127, allocations: 11.94 kB / 0.793 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.01291, allocations: 172.5 kB / 0.7931 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000189/0.0131, allocations: 268.1 kB / 0.7934 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001933/0.0133, allocations: 271.5 kB / 0.7936 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/0.01348, allocations: 268.1 kB / 0.7939 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.01389, allocations: 495.9 kB / 0.7944 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.806e-05/0.01397, allocations: 152.8 kB / 0.7945 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.01404, allocations: 144.9 kB / 0.7947 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.01419, allocations: 276 kB / 0.7949 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.01433, allocations: 268.1 kB / 0.7952 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000133/0.01447, allocations: 268.1 kB / 0.7954 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003337/0.0148, allocations: 268 kB / 0.7957 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.01508, allocations: 448.6 kB / 0.7961 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.01517, allocations: 152.8 kB / 0.7963 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.01533, allocations: 273.9 kB / 0.7965 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.01552, allocations: 152.8 kB / 0.7967 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.01566, allocations: 268.1 kB / 0.7969 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/0.01574, allocations: 152.8 kB / 0.7971 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.629e-05/0.01583, allocations: 127.2 kB / 0.7972 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01583, allocations: 0.7188 kB / 0.7972 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002489/0.01608, allocations: 20.59 kB / 0.7972 GB, free: 1.285 MB / 0.7448 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.0002659/0.01634, allocations: 233.2 kB / 0.7974 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.468e-05/0.01644, allocations: 23.67 kB / 0.7975 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01644, allocations: 0 / 0.7975 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-06/0.01644, allocations: 3.938 kB / 0.7975 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.01704, allocations: 0.7101 MB / 0.7982 GB, free: 312 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.01739, allocations: 232.4 kB / 0.7984 GB, free: 52 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.01748, allocations: 59.34 kB / 0.7984 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.01752, allocations: 4.281 kB / 0.7984 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.01755, allocations: 12.5 kB / 0.7985 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of SimCode: time 6.02e-07/0.01755, allocations: 0.9375 kB / 0.7985 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.00369/0.02124, allocations: 0.6906 MB / 0.7991 GB, free: 15.29 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.186366228968836]