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.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.001023/0.001023, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001067/0.001067, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9859/0.9859, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.982/1.982, allocations: 429.5 MB / 0.6733 GB, free: 3.984 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.322e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006827/0.00686, allocations: 4.242 MB / 0.8824 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00329/0.01015, allocations: 2.581 MB / 0.8849 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.01029, allocations: 3.938 kB / 0.8849 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.01062, allocations: 47.75 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.01101, allocations: 117.2 kB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.01271, allocations: 0.6288 MB / 0.8857 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.01314, allocations: 295.7 kB / 0.8859 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.0132, allocations: 9.812 kB / 0.886 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.01355, allocations: 167.5 kB / 0.8861 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.01373, allocations: 83.75 kB / 0.8862 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.01376, allocations: 8 kB / 0.8862 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.015, allocations: 427 kB / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.01509, allocations: 43.83 kB / 0.8867 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.01518, allocations: 59.91 kB / 0.8867 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007952/0.01598, allocations: 418.7 kB / 0.8871 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.01599, allocations: 3.984 kB / 0.8871 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.213e-06/0.01599, allocations: 4 kB / 0.8871 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.016, allocations: 0 / 0.8871 GB, free: 13.13 MB / 0.8542 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.0009235/0.01692, allocations: 0.5349 MB / 0.8876 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.01697, allocations: 8.031 kB / 0.8876 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.01869, allocations: 252 kB / 0.8879 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.01899, allocations: 156.4 kB / 0.888 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.01901, allocations: 12.7 kB / 0.888 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.01906, allocations: 20.38 kB / 0.8881 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.01963, allocations: 0.4916 MB / 0.8885 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.01964, allocations: 4.125 kB / 0.8885 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.01968, allocations: 12.12 kB / 0.8886 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.01971, allocations: 7.984 kB / 0.8886 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.02005, allocations: 188.2 kB / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.02145, allocations: 1.611 MB / 0.8903 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.02182, allocations: 158.5 kB / 0.8905 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.02192, allocations: 59.66 kB / 0.8905 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.02195, allocations: 4 kB / 0.8905 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.02198, allocations: 41.27 kB / 0.8906 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.02198, allocations: 7.938 kB / 0.8906 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000417/0.0224, allocations: 199.8 kB / 0.8908 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.02242, allocations: 51.41 kB / 0.8908 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.02253, allocations: 203.9 kB / 0.891 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.02255, allocations: 29.7 kB / 0.891 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.02262, allocations: 179 kB / 0.8912 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.02266, allocations: 67.38 kB / 0.8913 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.02272, allocations: 51.58 kB / 0.8913 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.02283, allocations: 0.4962 MB / 0.8918 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.0229, allocations: 44.44 kB / 0.8919 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.02302, allocations: 163.4 kB / 0.892 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.0232, allocations: 204.4 kB / 0.8922 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0232, allocations: 0 / 0.8922 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002528/0.02346, allocations: 219.8 kB / 0.8924 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.02347, allocations: 11.94 kB / 0.8924 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02348, allocations: 8.312 kB / 0.8924 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.0235, allocations: 8 kB / 0.8924 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.02368, allocations: 67.89 kB / 0.8925 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.02369, allocations: 4 kB / 0.8925 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.02378, allocations: 23.88 kB / 0.8925 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.02379, allocations: 8 kB / 0.8925 GB, free: 7.145 MB / 0.8542 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 9.145e-05/0.02389, allocations: 176.5 kB / 0.8927 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.02393, allocations: 23.84 kB / 0.8927 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.0242, allocations: 193 kB / 0.8929 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02421, allocations: 7.984 kB / 0.8929 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02421, allocations: 0 / 0.8929 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.02421, allocations: 0 / 0.8929 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.02496, allocations: 188.4 kB / 0.8931 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02496, allocations: 0 / 0.8931 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.0251, allocations: 47.95 kB / 0.8931 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.02511, allocations: 7.938 kB / 0.8932 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.02512, allocations: 7.938 kB / 0.8932 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.02512, allocations: 0 / 0.8932 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02513, allocations: 0 / 0.8932 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.02539, allocations: 311.8 kB / 0.8935 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.02544, allocations: 31.81 kB / 0.8935 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.02546, allocations: 11.94 kB / 0.8935 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.02556, allocations: 11.98 kB / 0.8935 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.02559, allocations: 7.984 kB / 0.8935 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.0256, allocations: 15.98 kB / 0.8935 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.02566, allocations: 139.2 kB / 0.8937 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.02566, allocations: 0 / 0.8937 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002588/0.02591, allocations: 71.89 kB / 0.8937 GB, free: 5.844 MB / 0.8542 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.0001852/0.0261, allocations: 139.1 kB / 0.8939 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.02633, allocations: 151.7 kB / 0.894 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02633, allocations: 0.625 kB / 0.894 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.0264, allocations: 79.59 kB / 0.8941 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.02673, allocations: 71.84 kB / 0.8942 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008295/0.02756, allocations: 374.6 kB / 0.8945 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.02761, allocations: 76.83 kB / 0.8946 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.02778, allocations: 45.47 kB / 0.8946 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.02785, allocations: 24.48 kB / 0.8947 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.02785, allocations: 0 / 0.8947 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.005465/0.03332, allocations: 3.752 MB / 0.8983 GB, free: 1.211 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.403268225956708]