Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001957/0.001957, allocations: 79.59 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002584/0.002584, allocations: 162.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.507/1.507, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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 2.856/2.856, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 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.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_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.607e-05, allocations: 4.812 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005715/0.005741, allocations: 3.89 MB / 0.9853 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.008732, allocations: 2.227 MB / 0.9875 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.00881, allocations: 0 / 0.9875 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.00909, allocations: 51.62 kB / 0.9875 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.009401, allocations: 111.2 kB / 0.9876 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.01091, allocations: 0.5585 MB / 0.9882 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.01129, allocations: 267.7 kB / 0.9884 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.01133, allocations: 13.73 kB / 0.9884 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.01162, allocations: 163.6 kB / 0.9886 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.01178, allocations: 83.77 kB / 0.9887 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.01182, allocations: 8 kB / 0.9887 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000788/0.0126, allocations: 403 kB / 0.9891 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.01269, allocations: 35.88 kB / 0.9891 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.0128, allocations: 71.83 kB / 0.9892 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007432/0.01354, allocations: 434.7 kB / 0.9896 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01355, allocations: 4 kB / 0.9896 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01355, allocations: 0 / 0.9896 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.01355, allocations: 0 / 0.9896 GB, free: 3.605 MB / 0.9356 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.0008439/0.0144, allocations: 453.4 kB / 0.99 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.01443, allocations: 8.031 kB / 0.99 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.01665, allocations: 192.6 kB / 0.9902 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.01699, allocations: 145.6 kB / 0.9903 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.01702, allocations: 12.7 kB / 0.9903 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.01706, allocations: 16.38 kB / 0.9904 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.01791, allocations: 0.5023 MB / 0.9909 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01792, allocations: 192 / 0.9909 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.01796, allocations: 24.06 kB / 0.9909 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.01798, allocations: 11.98 kB / 0.9909 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.01876, allocations: 255.5 kB / 0.9911 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.02043, allocations: 1.146 MB / 0.9923 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.02116, allocations: 186.3 kB / 0.9924 GB, free: 476 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.0214, allocations: 76.81 kB / 0.9925 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.02142, allocations: 4 kB / 0.9925 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.02146, allocations: 38.5 kB / 0.9925 GB, free: 344 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.02146, allocations: 0 / 0.9925 GB, free: 344 kB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008686/0.02233, allocations: 247.3 kB / 0.9928 GB, free: 92 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.02238, allocations: 55.41 kB / 0.9928 GB, free: 24 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.02254, allocations: 152.2 kB / 0.993 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.02258, allocations: 29.7 kB / 0.993 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.02268, allocations: 132.2 kB / 0.9931 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.02274, allocations: 67.42 kB / 0.9932 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.02283, allocations: 45.92 kB / 0.9932 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.02298, allocations: 326.8 kB / 0.9936 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.02322, allocations: 64.42 kB / 0.9936 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.0235, allocations: 142.3 kB / 0.9937 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.02406, allocations: 221.2 kB / 0.994 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02406, allocations: 3.938 kB / 0.994 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006648/0.02472, allocations: 255.5 kB / 0.9942 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.02474, allocations: 7.938 kB / 0.9942 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.02475, allocations: 4 kB / 0.9942 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.02477, allocations: 4 kB / 0.9942 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.02516, allocations: 67.88 kB / 0.9943 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.02518, allocations: 7.938 kB / 0.9943 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.02542, allocations: 27.88 kB / 0.9943 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.02545, allocations: 8.125 kB / 0.9943 GB, free: 14.38 MB / 0.9512 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.0001416/0.02559, allocations: 133.8 kB / 0.9945 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.02565, allocations: 19.84 kB / 0.9945 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.02634, allocations: 228.8 kB / 0.9947 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.02634, allocations: 4 kB / 0.9947 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.02635, allocations: 0 / 0.9947 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02635, allocations: 0 / 0.9947 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.02663, allocations: 177.3 kB / 0.9949 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.02663, allocations: 0 / 0.9949 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.02696, allocations: 55.91 kB / 0.9949 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.02696, allocations: 4 kB / 0.9949 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.02699, allocations: 7.922 kB / 0.9949 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.02699, allocations: 0 / 0.9949 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02699, allocations: 0 / 0.9949 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.02761, allocations: 287.4 kB / 0.9952 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.02769, allocations: 27.81 kB / 0.9952 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.02774, allocations: 11.94 kB / 0.9952 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.02802, allocations: 23.98 kB / 0.9953 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.02805, allocations: 11.97 kB / 0.9953 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.02808, allocations: 12 kB / 0.9953 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.284e-05/0.02816, allocations: 102.1 kB / 0.9954 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.02817, allocations: 0 / 0.9954 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004092/0.02857, allocations: 75.77 kB / 0.9955 GB, free: 13.17 MB / 0.9512 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.0002802/0.02885, allocations: 135.2 kB / 0.9956 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.02945, allocations: 171.3 kB / 0.9957 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.02945, allocations: 4 kB / 0.9958 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.0297, allocations: 83.88 kB / 0.9958 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.03016, allocations: 43.91 kB / 0.9959 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.03119, allocations: 377.8 kB / 0.9962 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.0313, allocations: 95.28 kB / 0.9963 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.03155, allocations: 57.44 kB / 0.9964 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.03164, allocations: 24.48 kB / 0.9964 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.03164, allocations: 0 / 0.9964 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of Templates: time 0.007686/0.03933, allocations: 3.03 MB / 0.9994 GB, free: 9.191 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.274314992129803]