Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001288/0.001288, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009914/0.0009914, allocations: 173 kB / 23.36 MB, free: 1.133 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.942/0.942, allocations: 177.1 MB / 203.8 MB, free: 5.488 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 2.346/2.346, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.8385 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.894e-05, allocations: 6.25 kB / 0.8385 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0022/0.002219, allocations: 1.324 MB / 0.8398 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.005281, allocations: 2.604 MB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.005307, allocations: 0 / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.005324, allocations: 4 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.00537, allocations: 11.88 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.0059, allocations: 139.2 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.005976, allocations: 35.86 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.006011, allocations: 0 / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.006078, allocations: 27.95 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.006138, allocations: 11.98 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.006149, allocations: 4 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.006354, allocations: 111.6 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.006369, allocations: 11.92 kB / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.006386, allocations: 8 kB / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.006524, allocations: 83.81 kB / 0.8428 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006526, allocations: 0 / 0.8428 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.006526, allocations: 0 / 0.8428 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.006529, allocations: 3.938 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002445/0.006774, allocations: 252.5 kB / 0.8431 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.006802, allocations: 16.62 kB / 0.8431 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.006942, allocations: 28.78 kB / 0.8431 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.71e-05/0.006999, allocations: 105.8 kB / 0.8432 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.007009, allocations: 8.375 kB / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.007028, allocations: 8.328 kB / 0.8432 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.007133, allocations: 141.9 kB / 0.8434 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.007146, allocations: 4.125 kB / 0.8434 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.007154, allocations: 4.125 kB / 0.8434 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007161, allocations: 4 kB / 0.8434 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.00718, allocations: 7.984 kB / 0.8434 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.00748, allocations: 344.6 kB / 0.8437 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.549e-05/0.007556, allocations: 67.66 kB / 0.8438 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.007574, allocations: 26.69 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.00758, allocations: 4 kB / 0.8438 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.0076, allocations: 34.56 kB / 0.8438 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.007601, allocations: 0 / 0.8438 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0003919/0.007993, allocations: 237.3 kB / 0.8441 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.008033, allocations: 106.8 kB / 0.8442 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.008082, allocations: 110.7 kB / 0.8443 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.008092, allocations: 29.7 kB / 0.8443 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.008129, allocations: 84.09 kB / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.008145, allocations: 31.73 kB / 0.8444 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.008173, allocations: 25.7 kB / 0.8444 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.008239, allocations: 314.8 kB / 0.8447 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.008251, allocations: 16.05 kB / 0.8447 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.00828, allocations: 49.08 kB / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.008334, allocations: 69.56 kB / 0.8449 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008335, allocations: 0 / 0.8449 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000326/0.008661, allocations: 77.42 kB / 0.8449 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.008672, allocations: 6.781 kB / 0.8449 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.008678, allocations: 8 kB / 0.8449 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00869, allocations: 0 / 0.8449 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/0.008737, allocations: 27.98 kB / 0.845 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.008741, allocations: 3.984 kB / 0.845 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.008763, allocations: 8.062 kB / 0.845 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.008766, allocations: 0 / 0.845 GB, free: 7.309 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 4.815e-05/0.008815, allocations: 117.8 kB / 0.8451 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.008846, allocations: 11.92 kB / 0.8451 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.008867, allocations: 11.81 kB / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.008868, allocations: 0 / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.00887, allocations: 4 kB / 0.8451 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008874, allocations: 4 kB / 0.8451 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.009046, allocations: 85.88 kB / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009048, allocations: 0 / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.009095, allocations: 15.98 kB / 0.8452 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.009096, allocations: 4 kB / 0.8452 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.009101, allocations: 0 / 0.8452 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.009103, allocations: 3.938 kB / 0.8452 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.009104, allocations: 3.938 kB / 0.8452 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.009235, allocations: 314 kB / 0.8455 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.009255, allocations: 11.98 kB / 0.8455 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.009265, allocations: 4 kB / 0.8455 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.009342, allocations: 3.938 kB / 0.8455 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.009357, allocations: 11.98 kB / 0.8456 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.00936, allocations: 0 / 0.8456 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.448e-06/0.00937, allocations: 8.859 kB / 0.8456 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.61e-07/0.00937, allocations: 0 / 0.8456 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001739/0.009544, allocations: 19.94 kB / 0.8456 GB, free: 6.637 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001068/0.009651, allocations: 88.36 kB / 0.8457 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.469e-05/0.009725, allocations: 44.77 kB / 0.8457 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.00973, allocations: 3.938 kB / 0.8457 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.009747, allocations: 24.78 kB / 0.8457 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.00997, allocations: 8 kB / 0.8458 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.01049, allocations: 242.9 kB / 0.846 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.01053, allocations: 59.3 kB / 0.846 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.01057, allocations: 15.84 kB / 0.8461 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.01062, allocations: 63.38 kB / 0.8461 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.01062, allocations: 0 / 0.8461 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of Templates: time 0.002122/0.01274, allocations: 0.754 MB / 0.8469 GB, free: 5.328 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.236722416244447]