Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001514/0.001514, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001566/0.001566, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Specialized.Water.Examples.TemperatureDependentDensityProperties,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.91 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3357, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006078/0.3418, allocations: 4.084 MB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.3449, allocations: 2.441 MB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.345, allocations: 4 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.3453, allocations: 47.67 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.3456, allocations: 99.42 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.347, allocations: 0.5248 MB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.3474, allocations: 267.8 kB / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.3474, allocations: 13.56 kB / 1.221 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3476, allocations: 107.6 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.3478, allocations: 103.6 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3478, allocations: 8 kB / 1.222 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008788/0.3487, allocations: 459.3 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.3488, allocations: 51.75 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.972e-05/0.3489, allocations: 79.66 kB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.3495, allocations: 414.7 kB / 1.223 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3495, allocations: 0 / 1.223 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3495, allocations: 4 kB / 1.223 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3495, allocations: 0 / 1.223 GB, free: 8.188 MB / 0.9669 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.0007944/0.3503, allocations: 0.5102 MB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3504, allocations: 8.031 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.3524, allocations: 180.5 kB / 1.223 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.3527, allocations: 208.2 kB / 1.223 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.3527, allocations: 12.7 kB / 1.223 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.3528, allocations: 16.31 kB / 1.223 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.3534, allocations: 308.4 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3535, allocations: 0 / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.3535, allocations: 8 kB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.3535, allocations: 4 kB / 1.224 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.3543, allocations: 263.6 kB / 1.224 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.356, allocations: 1.385 MB / 1.225 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.3567, allocations: 186.6 kB / 1.226 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.357, allocations: 80.7 kB / 1.226 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.357, allocations: 7.922 kB / 1.226 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3571, allocations: 38.56 kB / 1.226 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.3571, allocations: 0 / 1.226 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0008258/0.3579, allocations: 247.4 kB / 1.226 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3579, allocations: 51.41 kB / 1.226 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3581, allocations: 162.2 kB / 1.226 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3581, allocations: 25.7 kB / 1.226 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.3582, allocations: 140.1 kB / 1.226 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.3583, allocations: 59.48 kB / 1.226 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3584, allocations: 57.81 kB / 1.226 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3585, allocations: 326.8 kB / 1.227 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.3587, allocations: 64.41 kB / 1.227 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.359, allocations: 143.7 kB / 1.227 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.3595, allocations: 218.8 kB / 1.227 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3595, allocations: 0 / 1.227 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006203/0.3602, allocations: 253.2 kB / 1.227 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3602, allocations: 6.031 kB / 1.227 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3602, allocations: 4 kB / 1.227 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3602, allocations: 4.312 kB / 1.227 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.3606, allocations: 67.89 kB / 1.227 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3606, allocations: 4 kB / 1.227 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3608, allocations: 35.77 kB / 1.227 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.3608, allocations: 12 kB / 1.227 GB, free: 2.777 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001273/0.361, allocations: 129.7 kB / 1.228 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.361, allocations: 15.91 kB / 1.228 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.3617, allocations: 234.6 kB / 1.228 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3617, allocations: 4 kB / 1.228 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3617, allocations: 0 / 1.228 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3617, allocations: 3.984 kB / 1.228 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.362, allocations: 245.4 kB / 1.228 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.362, allocations: 0 / 1.228 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3623, allocations: 47.95 kB / 1.228 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3623, allocations: 0 / 1.228 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.3623, allocations: 4 kB / 1.228 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.3623, allocations: 8 kB / 1.228 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3624, allocations: 3.938 kB / 1.228 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.363, allocations: 293.3 kB / 1.228 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3631, allocations: 116.9 kB / 1.229 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3631, allocations: 0 / 1.229 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3634, allocations: 19.98 kB / 1.229 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3634, allocations: 15.98 kB / 1.229 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.3634, allocations: 4 kB / 1.229 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.278e-05/0.3635, allocations: 116.9 kB / 1.229 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 1.229 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003698/0.3639, allocations: 56 kB / 1.229 GB, free: 1.391 MB / 0.9669 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 (20): * Single equations (assignments): 20 * 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.0002348/0.3641, allocations: 143.1 kB / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.3647, allocations: 180.3 kB / 1.229 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3647, allocations: 0 / 1.229 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.365, allocations: 81.95 kB / 1.229 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.3654, allocations: 63.94 kB / 1.229 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3665, allocations: 436.8 kB / 1.23 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3668, allocations: 0.7134 MB / 1.23 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3669, allocations: 31.42 kB / 1.23 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3669, allocations: 3.938 kB / 1.23 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.00534/0.3723, allocations: 2.966 MB / 1.233 GB, free: 12.74 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: 10.644745972007513]