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.001462/0.001462, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001708/0.001708, allocations: 165 kB / 24.27 MB, free: 276 kB / 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.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.926/1.926, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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.[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_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.[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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.8116 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.281e-05, allocations: 4.984 kB / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006472/0.006505, allocations: 4.212 MB / 0.8157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.009424, allocations: 2.533 MB / 0.8182 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.009554, allocations: 0 / 0.8182 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.009884, allocations: 47.03 kB / 0.8182 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.01026, allocations: 107.2 kB / 0.8183 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.01178, allocations: 0.5612 MB / 0.8189 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.01215, allocations: 263.7 kB / 0.8191 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.01221, allocations: 6.625 kB / 0.8191 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.01251, allocations: 164.5 kB / 0.8193 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.01267, allocations: 75.78 kB / 0.8193 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.0127, allocations: 8 kB / 0.8194 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000839/0.01354, allocations: 411.6 kB / 0.8197 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.01362, allocations: 36.45 kB / 0.8198 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.01372, allocations: 71.81 kB / 0.8198 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.01448, allocations: 415.7 kB / 0.8202 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.01448, allocations: 4 kB / 0.8202 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01448, allocations: 0 / 0.8202 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.01449, allocations: 0.9688 kB / 0.8202 GB, free: 9.156 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.0008957/0.01539, allocations: 0.5358 MB / 0.8208 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.01544, allocations: 12.02 kB / 0.8208 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.01741, allocations: 242.3 kB / 0.821 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.01769, allocations: 157.3 kB / 0.8212 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.01772, allocations: 12.7 kB / 0.8212 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.01776, allocations: 20.31 kB / 0.8212 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.01837, allocations: 0.4976 MB / 0.8217 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.01839, allocations: 8.172 kB / 0.8217 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.01843, allocations: 12.12 kB / 0.8217 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.01846, allocations: 11.94 kB / 0.8217 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.01885, allocations: 182.4 kB / 0.8219 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.02042, allocations: 1.623 MB / 0.8235 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.02085, allocations: 154.4 kB / 0.8236 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.02097, allocations: 55.66 kB / 0.8237 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.02099, allocations: 4 kB / 0.8237 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.02103, allocations: 45.33 kB / 0.8237 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 2.614e-06/0.02103, allocations: 0 / 0.8237 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0005256/0.02156, allocations: 194.8 kB / 0.8239 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.0216, allocations: 63.34 kB / 0.824 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.02175, allocations: 196.5 kB / 0.8242 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.02178, allocations: 29.7 kB / 0.8242 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.02188, allocations: 178.9 kB / 0.8244 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.02193, allocations: 67.41 kB / 0.8244 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.459e-05/0.02203, allocations: 63.53 kB / 0.8245 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.02219, allocations: 0.4962 MB / 0.825 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.0223, allocations: 40.44 kB / 0.825 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.02247, allocations: 150.6 kB / 0.8251 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.02277, allocations: 210.1 kB / 0.8253 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.02277, allocations: 4 kB / 0.8253 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004217/0.02319, allocations: 217.2 kB / 0.8256 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.02322, allocations: 11.88 kB / 0.8256 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.02323, allocations: 4 kB / 0.8256 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.02325, allocations: 8.297 kB / 0.8256 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.02355, allocations: 67.89 kB / 0.8256 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.02357, allocations: 4 kB / 0.8256 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02374, allocations: 23.84 kB / 0.8257 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.02377, allocations: 19.98 kB / 0.8257 GB, free: 3.164 MB / 0.7761 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.0001299/0.0239, allocations: 164.5 kB / 0.8258 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.02398, allocations: 23.89 kB / 0.8259 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.0244, allocations: 184.9 kB / 0.826 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.0244, allocations: 4 kB / 0.826 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.02441, allocations: 0 / 0.826 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02441, allocations: 0 / 0.826 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.02467, allocations: 184.5 kB / 0.8262 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.02468, allocations: 8 kB / 0.8262 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.02493, allocations: 55.91 kB / 0.8263 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.02493, allocations: 0 / 0.8263 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.02495, allocations: 3.938 kB / 0.8263 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.02496, allocations: 11.97 kB / 0.8263 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.02496, allocations: 3.984 kB / 0.8263 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.02535, allocations: 307.8 kB / 0.8266 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.02543, allocations: 35.75 kB / 0.8266 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.02546, allocations: 11.94 kB / 0.8266 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.02566, allocations: 11.98 kB / 0.8267 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.0257, allocations: 11.97 kB / 0.8267 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.02573, allocations: 12 kB / 0.8267 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.031e-05/0.02581, allocations: 141 kB / 0.8268 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.02581, allocations: 0 / 0.8268 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004543/0.02626, allocations: 75.92 kB / 0.8269 GB, free: 1.867 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 (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.0002576/0.02652, allocations: 143.1 kB / 0.827 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.02686, allocations: 156.7 kB / 0.8272 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02687, allocations: 0 / 0.8272 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.027, allocations: 89.92 kB / 0.8273 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.02754, allocations: 67.88 kB / 0.8273 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.02875, allocations: 362.7 kB / 0.8277 GB, free: 1.023 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.051e-05/0.02881, allocations: 72.78 kB / 0.8277 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.02908, allocations: 53.45 kB / 0.8278 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.02918, allocations: 24.48 kB / 0.8278 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.02918, allocations: 0 / 0.8278 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of Templates: time 0.007592/0.03677, allocations: 3.484 MB / 0.8312 GB, free: 13.48 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] 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","",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.5379628110677]