Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 196.1 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 71.88 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9915/0.9938, allocations: 160.8 MB / 1.218 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006979/1.001, allocations: 4.078 MB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002395/1.001, allocations: 157.9 kB / 1.223 GB, free: 192 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/1.001, allocations: 3.938 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/1.001, allocations: 8.859 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/1.001, allocations: 11.59 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/1.002, allocations: 78.97 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/1.002, allocations: 32.78 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/1.002, allocations: 5.766 kB / 1.223 GB, free: 96 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/1.002, allocations: 16.72 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/1.002, allocations: 18.5 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/1.002, allocations: 0.7812 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/1.002, allocations: 62.19 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/1.002, allocations: 10.25 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/1.002, allocations: 5.438 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/1.002, allocations: 46.02 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.002, allocations: 0 / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/1.002, allocations: 0 / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of Transformations before backend: time 4.829e-06/1.002, allocations: 0.7812 kB / 1.223 GB, free: 12 kB / 0.92 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.0005329/1.003, allocations: 334.5 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.003, allocations: 9.031 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/1.003, allocations: 7.094 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/1.003, allocations: 161.5 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/1.003, allocations: 31.31 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.003, allocations: 5.719 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/1.003, allocations: 51.05 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.003, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.003, allocations: 0.875 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/1.003, allocations: 1.031 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/1.003, allocations: 16.95 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/1.004, allocations: 341.6 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/1.004, allocations: 15.7 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/1.004, allocations: 14.08 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/1.004, allocations: 82.2 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.004, allocations: 31.78 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/1.004, allocations: 5.031 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000172/1.004, allocations: 42.94 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/1.004, allocations: 56.53 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.004, allocations: 103.4 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/1.005, allocations: 26.89 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/1.005, allocations: 89.16 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/1.005, allocations: 1.094 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/1.005, allocations: 21.42 kB / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.005, allocations: 330.8 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/1.005, allocations: 2.594 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/1.005, allocations: 14.16 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/1.005, allocations: 19.88 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.005, allocations: 0 / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.202e-05/1.005, allocations: 55.03 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.005, allocations: 5.375 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.005, allocations: 1.156 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.005, allocations: 0 / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/1.005, allocations: 9.672 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/1.005, allocations: 0 / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/1.005, allocations: 1.094 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/1.005, allocations: 2.531 kB / 1.225 GB, free: 14.02 MB / 0.9356 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.835e-05/1.005, allocations: 122.7 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/1.005, allocations: 6.062 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/1.005, allocations: 128.1 kB / 1.225 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-05/1.005, allocations: 176.3 kB / 1.225 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-05/1.006, allocations: 181.3 kB / 1.225 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.74e-05/1.006, allocations: 177.5 kB / 1.225 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/1.006, allocations: 416.9 kB / 1.226 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.671e-05/1.006, allocations: 101 kB / 1.226 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/1.006, allocations: 106.3 kB / 1.226 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.342e-05/1.006, allocations: 185.1 kB / 1.226 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/1.006, allocations: 177.3 kB / 1.226 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.953e-05/1.006, allocations: 181.3 kB / 1.227 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.131e-05/1.006, allocations: 181.3 kB / 1.227 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/1.007, allocations: 316.2 kB / 1.227 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/1.007, allocations: 179.2 kB / 1.227 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/1.007, allocations: 185.4 kB / 1.227 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/1.007, allocations: 115.5 kB / 1.227 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-05/1.007, allocations: 177.7 kB / 1.228 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/1.007, allocations: 110 kB / 1.228 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.28e-05/1.007, allocations: 88.67 kB / 1.228 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.007, allocations: 0 / 1.228 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002546/1.007, allocations: 11.69 kB / 1.228 GB, free: 10.6 MB / 0.9356 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.0003051/1.008, allocations: 207 kB / 1.228 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.696e-05/1.008, allocations: 13.69 kB / 1.228 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.008, allocations: 0 / 1.228 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/1.008, allocations: 5.156 kB / 1.228 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/1.008, allocations: 459.2 kB / 1.228 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/1.009, allocations: 185 kB / 1.229 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/1.009, allocations: 0.6758 MB / 1.229 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.223e-05/1.009, allocations: 8.641 kB / 1.229 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/1.009, allocations: 8.625 kB / 1.229 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.009, allocations: 0 / 1.229 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of Templates: time 0.003471/1.012, allocations: 0.6489 MB / 1.23 GB, free: 8.715 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.947093651629984]