Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00166/0.00166, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001857/0.001857, allocations: 189.4 kB / 22.23 MB, free: 5.098 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.4/1.4, allocations: 225.6 MB / 251 MB, free: 13.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.093/3.093, allocations: 0.4893 GB / 0.7884 GB, free: 33.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 66.83 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3103, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005618/0.3159, allocations: 4.102 MB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3188, allocations: 2.449 MB / 1.322 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.3189, allocations: 0 / 1.322 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.3192, allocations: 47.67 kB / 1.323 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.3194, allocations: 103.3 kB / 1.323 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3207, allocations: 0.5378 MB / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.321, allocations: 267.8 kB / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.321, allocations: 5.75 kB / 1.323 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.3213, allocations: 127.5 kB / 1.324 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3214, allocations: 99.58 kB / 1.324 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3214, allocations: 8 kB / 1.324 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007949/0.3222, allocations: 471.2 kB / 1.324 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.3223, allocations: 35.89 kB / 1.324 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3224, allocations: 87.64 kB / 1.324 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.323, allocations: 410.7 kB / 1.325 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.323, allocations: 0 / 1.325 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.042e-06/0.323, allocations: 0 / 1.325 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.323, allocations: 0 / 1.325 GB, free: 0.9023 MB / 1.014 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.0007134/0.3237, allocations: 445.4 kB / 1.325 GB, free: 444 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3237, allocations: 12.03 kB / 1.325 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.3256, allocations: 176.6 kB / 1.325 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3259, allocations: 154.3 kB / 1.325 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3259, allocations: 8.703 kB / 1.325 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.326, allocations: 20.38 kB / 1.325 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.3266, allocations: 304.4 kB / 1.326 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3266, allocations: 7.922 kB / 1.326 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.3266, allocations: 15.98 kB / 1.326 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.3267, allocations: 4 kB / 1.326 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.3273, allocations: 259.6 kB / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.329, allocations: 1.368 MB / 1.327 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.3296, allocations: 178.5 kB / 1.327 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3298, allocations: 68.81 kB / 1.328 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.3298, allocations: 11.98 kB / 1.328 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3299, allocations: 38.56 kB / 1.328 GB, free: 13.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.3299, allocations: 0 / 1.328 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0007368/0.3306, allocations: 247 kB / 1.328 GB, free: 13.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3306, allocations: 55.41 kB / 1.328 GB, free: 13.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3308, allocations: 156.8 kB / 1.328 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.3308, allocations: 37.7 kB / 1.328 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.3309, allocations: 124.2 kB / 1.328 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.3309, allocations: 63.47 kB / 1.328 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.331, allocations: 57.88 kB / 1.328 GB, free: 12.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3312, allocations: 318.8 kB / 1.329 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.3314, allocations: 68.41 kB / 1.329 GB, free: 12.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.3316, allocations: 143.2 kB / 1.329 GB, free: 12.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.3321, allocations: 227.2 kB / 1.329 GB, free: 12.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3321, allocations: 0 / 1.329 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005532/0.3326, allocations: 257.2 kB / 1.329 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3326, allocations: 8 kB / 1.329 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3327, allocations: 4 kB / 1.329 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3327, allocations: 4 kB / 1.329 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.333, allocations: 63.89 kB / 1.329 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.333, allocations: 4 kB / 1.329 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3333, allocations: 35.77 kB / 1.329 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.3333, allocations: 16.22 kB / 1.329 GB, free: 11.67 MB / 1.029 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.0001135/0.3334, allocations: 129.7 kB / 1.329 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.3334, allocations: 11.95 kB / 1.329 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.334, allocations: 228.2 kB / 1.33 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.334, allocations: 4 kB / 1.33 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.334, allocations: 0 / 1.33 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.3341, allocations: 11.86 kB / 1.33 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3343, allocations: 212.5 kB / 1.33 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3343, allocations: 4 kB / 1.33 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.3346, allocations: 43.95 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3346, allocations: 4 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3347, allocations: 4 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3347, allocations: 0 / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3347, allocations: 3.984 kB / 1.33 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.3352, allocations: 304.9 kB / 1.33 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.3353, allocations: 31.8 kB / 1.33 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3353, allocations: 8 kB / 1.33 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.3356, allocations: 15.98 kB / 1.33 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.3356, allocations: 7.984 kB / 1.33 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.3356, allocations: 15.98 kB / 1.33 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.7e-05/0.3357, allocations: 117.3 kB / 1.33 GB, free: 10.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3357, allocations: 0 / 1.33 GB, free: 10.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003341/0.336, allocations: 63.94 kB / 1.331 GB, free: 10.41 MB / 1.029 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.0001996/0.3362, allocations: 131.7 kB / 1.331 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.3367, allocations: 175.7 kB / 1.331 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3367, allocations: 0 / 1.331 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.337, allocations: 84.5 kB / 1.331 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3374, allocations: 70.02 kB / 1.331 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.3383, allocations: 406.2 kB / 1.331 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3386, allocations: 0.7211 MB / 1.332 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.3389, allocations: 45.94 kB / 1.332 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.339, allocations: 23.42 kB / 1.332 GB, free: 8.711 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.339, allocations: 0 / 1.332 GB, free: 8.711 MB / 1.029 GB Notification: Performance of Templates: time 0.007254/0.3462, allocations: 3.577 MB / 1.336 GB, free: 5.207 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.605453378520906]