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.00145/0.00145, allocations: 93.06 kB / 19.65 MB, free: 280 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.001476/0.001476, allocations: 165 kB / 23.01 MB, free: 1.555 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 1.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.182/2.182, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.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.392e-06/1.392e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.628e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001599/0.001615, allocations: 1.325 MB / 0.8794 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002812/0.004427, allocations: 2.602 MB / 0.882 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.004466, allocations: 3.938 kB / 0.882 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.004493, allocations: 7.922 kB / 0.882 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.004543, allocations: 1.094 kB / 0.882 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.00516, allocations: 132.5 kB / 0.8821 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.005246, allocations: 37.45 kB / 0.8821 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.005285, allocations: 4 kB / 0.8822 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.005347, allocations: 27.95 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.005411, allocations: 15.97 kB / 0.8822 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.005426, allocations: 3.219 kB / 0.8822 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.005673, allocations: 111.6 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.005691, allocations: 11.94 kB / 0.8823 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.005717, allocations: 11.97 kB / 0.8823 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.005905, allocations: 79.78 kB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005909, allocations: 0 / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00591, allocations: 0 / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.005915, allocations: 3.938 kB / 0.8824 GB, free: 1.988 MB / 0.8386 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.0003803/0.006295, allocations: 385.8 kB / 0.8828 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.006336, allocations: 8.031 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.006522, allocations: 24.81 kB / 0.8828 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.006599, allocations: 114.1 kB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.006612, allocations: 384 / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.006643, allocations: 20.36 kB / 0.8829 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.006792, allocations: 150.4 kB / 0.8831 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.0068, allocations: 1.281 kB / 0.8831 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.006812, allocations: 8.109 kB / 0.8831 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.006821, allocations: 0 / 0.8831 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.006856, allocations: 19.98 kB / 0.8831 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.007368, allocations: 0.5172 MB / 0.8836 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.007484, allocations: 97.17 kB / 0.8837 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.007511, allocations: 31.12 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.007521, allocations: 3.938 kB / 0.8837 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.007548, allocations: 45.41 kB / 0.8838 GB, free: 392 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.007549, allocations: 0 / 0.8838 GB, free: 392 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0005184/0.008067, allocations: 233.7 kB / 0.884 GB, free: 120 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.008126, allocations: 106.8 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.008202, allocations: 161.9 kB / 0.8843 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.008214, allocations: 25.7 kB / 0.8843 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.00826, allocations: 138.8 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.008279, allocations: 31.73 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.008312, allocations: 27.38 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.008432, allocations: 0.4923 MB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.008454, allocations: 4 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-05/0.0085, allocations: 70.05 kB / 0.885 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.394e-05/0.008574, allocations: 90.05 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.008575, allocations: 0 / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001082/0.008684, allocations: 102 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.008699, allocations: 5.875 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.008704, allocations: 0 / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.008721, allocations: 4 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.008781, allocations: 20.22 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.00879, allocations: 7.938 kB / 0.8852 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.008815, allocations: 4 kB / 0.8852 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.008824, allocations: 11.97 kB / 0.8853 GB, free: 14.7 MB / 0.8542 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 8.223e-05/0.008906, allocations: 160.6 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.008945, allocations: 7.938 kB / 0.8854 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.008978, allocations: 11.81 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.00898, allocations: 0 / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.008986, allocations: 0 / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.008991, allocations: 4 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.009223, allocations: 132.6 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.009226, allocations: 4 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.009279, allocations: 27.86 kB / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.009281, allocations: 0 / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.009292, allocations: 4 kB / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.009295, allocations: 4.062 kB / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009296, allocations: 0 / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.009555, allocations: 458.3 kB / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.009588, allocations: 19.88 kB / 0.8861 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.009603, allocations: 4 kB / 0.8861 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.00969, allocations: 8 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.009711, allocations: 7.938 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.009717, allocations: 3.984 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.009757, allocations: 127.2 kB / 0.8862 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009757, allocations: 0 / 0.8862 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002118/0.009969, allocations: 15.94 kB / 0.8862 GB, free: 13.65 MB / 0.8542 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.0001278/0.0101, allocations: 107.2 kB / 0.8863 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01021, allocations: 51.59 kB / 0.8864 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01021, allocations: 0 / 0.8864 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.01023, allocations: 27.62 kB / 0.8864 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01052, allocations: 13.55 kB / 0.8864 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.01121, allocations: 290 kB / 0.8867 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.01126, allocations: 59.34 kB / 0.8867 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.01129, allocations: 8 kB / 0.8867 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.01132, allocations: 12.5 kB / 0.8868 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.01132, allocations: 0 / 0.8868 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.002797/0.01412, allocations: 0.6893 MB / 0.8874 GB, free: 12.38 MB / 0.8542 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.612992870155722]