Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001555/0.001555, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001183/0.001183, allocations: 161.4 kB / 24.16 MB, free: 332 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.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.929/1.929, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 3.938 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.987e-06/1.015e-05, allocations: 2.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00162/0.00163, allocations: 1.362 MB / 0.7614 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.003892, allocations: 2.628 MB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.003908, allocations: 0 / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.936e-06/0.003917, allocations: 1.25 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.003942, allocations: 7.875 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.004229, allocations: 133.2 kB / 0.7641 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.056e-05/0.004279, allocations: 35.86 kB / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 1.925e-05/0.004299, allocations: 3.984 kB / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.004339, allocations: 28.59 kB / 0.7641 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.004377, allocations: 15.97 kB / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.004384, allocations: 1.781 kB / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.004541, allocations: 111.6 kB / 0.7642 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.605e-06/0.004549, allocations: 4 kB / 0.7643 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.004564, allocations: 19.97 kB / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.004673, allocations: 80.84 kB / 0.7643 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.004674, allocations: 0 / 0.7643 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.91e-07/0.004674, allocations: 0 / 0.7643 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.505e-06/0.004677, allocations: 0.9375 kB / 0.7643 GB, free: 2.219 MB / 0.7136 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.0001844/0.004861, allocations: 252.5 kB / 0.7646 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.442e-05/0.004886, allocations: 12.95 kB / 0.7646 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.005019, allocations: 33.03 kB / 0.7646 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.974e-05/0.005069, allocations: 106.5 kB / 0.7647 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.005076, allocations: 4.375 kB / 0.7647 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.005087, allocations: 5.125 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.494e-05/0.005172, allocations: 145.9 kB / 0.7649 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.509e-06/0.005177, allocations: 0.6875 kB / 0.7649 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.005184, allocations: 11.53 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-06/0.005186, allocations: 0 / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.684e-05/0.005203, allocations: 15.92 kB / 0.7649 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.005461, allocations: 336.6 kB / 0.7652 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/0.005527, allocations: 67.72 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.005542, allocations: 26.64 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-06/0.005547, allocations: 0 / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.005565, allocations: 41.03 kB / 0.7654 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 5.81e-07/0.005565, allocations: 3.938 kB / 0.7654 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003606/0.005926, allocations: 238.3 kB / 0.7656 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.005956, allocations: 111.9 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.93e-05/0.005996, allocations: 110.7 kB / 0.7658 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.006005, allocations: 25.7 kB / 0.7658 GB, free: 500 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.006288, allocations: 88.95 kB / 0.7659 GB, free: 408 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.006303, allocations: 27.75 kB / 0.7659 GB, free: 380 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.006329, allocations: 31.97 kB / 0.766 GB, free: 344 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.0064, allocations: 314.8 kB / 0.7663 GB, free: 20 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.006408, allocations: 7.984 kB / 0.7663 GB, free: 12 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.815e-05/0.006446, allocations: 45.14 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.006496, allocations: 71.8 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006497, allocations: 0 / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.707e-05/0.006564, allocations: 77.42 kB / 0.7665 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006574, allocations: 8 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.006577, allocations: 1.375 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.006589, allocations: 4 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.006632, allocations: 28.05 kB / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.006635, allocations: 4 kB / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.006655, allocations: 5.078 kB / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.006659, allocations: 4 kB / 0.7665 GB, free: 15.73 MB / 0.7292 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.481e-05/0.006704, allocations: 119.5 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.006741, allocations: 11.92 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.006758, allocations: 7.812 kB / 0.7666 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.006761, allocations: 4 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006762, allocations: 0 / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.006764, allocations: 0.6562 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.00693, allocations: 82.55 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.00693, allocations: 0 / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.006974, allocations: 25.08 kB / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006976, allocations: 0 / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.006981, allocations: 4 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006983, allocations: 4.938 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006983, allocations: 0 / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.007112, allocations: 314.6 kB / 0.7671 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.007129, allocations: 7.984 kB / 0.7671 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.007137, allocations: 0.6875 kB / 0.7671 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.007217, allocations: 7.938 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.007227, allocations: 9.484 kB / 0.7671 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.00723, allocations: 4 kB / 0.7671 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.957e-06/0.007239, allocations: 13.17 kB / 0.7671 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007239, allocations: 0 / 0.7671 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001671/0.007406, allocations: 16.81 kB / 0.7671 GB, free: 15.07 MB / 0.7292 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 6.961e-05/0.007476, allocations: 94.11 kB / 0.7672 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.986e-05/0.007536, allocations: 45.98 kB / 0.7673 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.007538, allocations: 0 / 0.7673 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.594e-05/0.007554, allocations: 21.73 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.007748, allocations: 11.98 kB / 0.7673 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.008125, allocations: 241.5 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.008159, allocations: 55.36 kB / 0.7676 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.008187, allocations: 11.73 kB / 0.7676 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.008232, allocations: 63.38 kB / 0.7676 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.008233, allocations: 5 kB / 0.7676 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of Templates: time 0.001831/0.01006, allocations: 0.7517 MB / 0.7684 GB, free: 13.82 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.056135545950383]