Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.002587/0.002587, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.003172/0.003172, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.597/1.597, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.037/3.037, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.055e-05, allocations: 2.969 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007667/0.007698, allocations: 4.842 MB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004033/0.01173, allocations: 2.817 MB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.01183, allocations: 0 / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.01213, allocations: 40.25 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.01244, allocations: 105.1 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.01384, allocations: 0.5462 MB / 0.819 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.01418, allocations: 235.8 kB / 0.8192 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.01423, allocations: 13.81 kB / 0.8192 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.01455, allocations: 156.1 kB / 0.8194 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.01471, allocations: 76.52 kB / 0.8194 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.01475, allocations: 8 kB / 0.8194 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.01545, allocations: 324.8 kB / 0.8198 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.01554, allocations: 39.89 kB / 0.8198 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.01564, allocations: 63.83 kB / 0.8199 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009621/0.0166, allocations: 378.8 kB / 0.8202 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01661, allocations: 0.9375 kB / 0.8202 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01661, allocations: 0 / 0.8202 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.01661, allocations: 0 / 0.8202 GB, free: 8.496 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009421/0.01756, allocations: 0.5317 MB / 0.8207 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.01759, allocations: 12.03 kB / 0.8207 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.01782, allocations: 41.81 kB / 0.8208 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.0181, allocations: 160.4 kB / 0.8209 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.01812, allocations: 13.83 kB / 0.821 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.01815, allocations: 20.38 kB / 0.821 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.01874, allocations: 453.9 kB / 0.8214 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01875, allocations: 1.438 kB / 0.8214 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.01878, allocations: 8.125 kB / 0.8214 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.01881, allocations: 8 kB / 0.8214 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.01934, allocations: 340 kB / 0.8217 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.02096, allocations: 0.9919 MB / 0.8227 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.02135, allocations: 157 kB / 0.8229 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.02147, allocations: 63.7 kB / 0.8229 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009171/0.02239, allocations: 0.5281 MB / 0.8234 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.02243, allocations: 38.48 kB / 0.8235 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.02243, allocations: 3.938 kB / 0.8235 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.000385/0.02282, allocations: 149.4 kB / 0.8236 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.02288, allocations: 60.06 kB / 0.8237 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.02309, allocations: 223 kB / 0.8239 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.02312, allocations: 29.7 kB / 0.8239 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.02326, allocations: 186.9 kB / 0.8241 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.02332, allocations: 59.48 kB / 0.8242 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.02341, allocations: 55.36 kB / 0.8242 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002829/0.0237, allocations: 0.5 MB / 0.8247 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.02377, allocations: 35.19 kB / 0.8247 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.024, allocations: 183 kB / 0.8249 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.02433, allocations: 245.2 kB / 0.8251 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.02434, allocations: 4 kB / 0.8251 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006399/0.02498, allocations: 223.5 kB / 0.8254 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.02499, allocations: 4 kB / 0.8254 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.025, allocations: 4.469 kB / 0.8254 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.02503, allocations: 12 kB / 0.8254 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.02524, allocations: 55.91 kB / 0.8254 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.02525, allocations: 4 kB / 0.8254 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.02536, allocations: 27.78 kB / 0.8255 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.02539, allocations: 23.97 kB / 0.8255 GB, free: 2.672 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001555/0.02554, allocations: 176.5 kB / 0.8257 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.02561, allocations: 23.91 kB / 0.8257 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.02596, allocations: 143.4 kB / 0.8258 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.02597, allocations: 0 / 0.8258 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.02597, allocations: 4 kB / 0.8258 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.02598, allocations: 4 kB / 0.8258 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.02625, allocations: 180.4 kB / 0.826 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.02625, allocations: 0 / 0.826 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.02638, allocations: 31.98 kB / 0.826 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.02638, allocations: 0 / 0.826 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.0264, allocations: 3.984 kB / 0.826 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.0264, allocations: 4 kB / 0.826 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0264, allocations: 0 / 0.826 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.02675, allocations: 276.7 kB / 0.8263 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.02683, allocations: 27.88 kB / 0.8263 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.02685, allocations: 7.938 kB / 0.8263 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.02703, allocations: 15.98 kB / 0.8263 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.02706, allocations: 7.984 kB / 0.8263 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.02709, allocations: 11.98 kB / 0.8264 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001207/0.02721, allocations: 153.6 kB / 0.8265 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02721, allocations: 0 / 0.8265 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004085/0.02762, allocations: 83.8 kB / 0.8266 GB, free: 1.473 MB / 0.7761 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003719/0.02799, allocations: 191 kB / 0.8268 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.02827, allocations: 122.6 kB / 0.8269 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02827, allocations: 0 / 0.8269 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.02836, allocations: 52.55 kB / 0.8269 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.02878, allocations: 55.83 kB / 0.827 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/0.02951, allocations: 315.1 kB / 0.8273 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.02964, allocations: 106.9 kB / 0.8274 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.02978, allocations: 41.33 kB / 0.8274 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.02983, allocations: 24.5 kB / 0.8275 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.02983, allocations: 0 / 0.8275 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of Templates: time 0.008143/0.03797, allocations: 3.152 MB / 0.8305 GB, free: 13.45 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.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.21897537598852]