Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.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.001675/0.001675, allocations: 81.78 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001908/0.001908, allocations: 157.8 kB / 23.01 MB, free: 4.961 MB / 14.72 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] 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.894/2.894, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Examples.WaterDerivativeCheck,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.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,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.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 71.83 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9789/0.9812, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002136/0.9833, allocations: 1.278 MB / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.9867, allocations: 3.08 MB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.9867, allocations: 0 / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.9868, allocations: 4.797 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.9868, allocations: 6.594 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.9874, allocations: 102.4 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.357e-05/0.9875, allocations: 42.86 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.9875, allocations: 2.641 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.9875, allocations: 16.38 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.9876, allocations: 17.47 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.9876, allocations: 2.312 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.9878, allocations: 75.62 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.9879, allocations: 7.875 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.9879, allocations: 16.58 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.9881, allocations: 70.73 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9881, allocations: 0 / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9881, allocations: 0 / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.9881, allocations: 1.406 kB / 1.191 GB, free: 13.02 MB / 1.076 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.0003428/0.9884, allocations: 270.7 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.9885, allocations: 8.688 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.9886, allocations: 13.41 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.158e-05/0.9886, allocations: 105.8 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.9886, allocations: 1.719 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.9887, allocations: 8.797 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.9888, allocations: 140 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9889, allocations: 0.8438 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.9889, allocations: 0 / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.9889, allocations: 1.062 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.9889, allocations: 19.73 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.9891, allocations: 109.5 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.9892, allocations: 48.75 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.9892, allocations: 16.5 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.9898, allocations: 253.8 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.9898, allocations: 37.88 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.9898, allocations: 0 / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0005215/0.9903, allocations: 219.8 kB / 1.192 GB, free: 11.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.9903, allocations: 53.59 kB / 1.192 GB, free: 11.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.9904, allocations: 99.89 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.9904, allocations: 34.73 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.9904, allocations: 93.88 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.9904, allocations: 26.23 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.9905, allocations: 26.56 kB / 1.193 GB, free: 11.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.9905, allocations: 318.2 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.9905, allocations: 13.41 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.9906, allocations: 58.7 kB / 1.193 GB, free: 11.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.9907, allocations: 70.33 kB / 1.193 GB, free: 11.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.9907, allocations: 0 / 1.193 GB, free: 11.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001268/0.9908, allocations: 97.98 kB / 1.193 GB, free: 11.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9908, allocations: 8.953 kB / 1.193 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9908, allocations: 2.406 kB / 1.193 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.9908, allocations: 6.859 kB / 1.193 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.9909, allocations: 21.75 kB / 1.193 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.9909, allocations: 2.844 kB / 1.193 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.991, allocations: 5.891 kB / 1.193 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.991, allocations: 4.969 kB / 1.193 GB, free: 11.02 MB / 1.076 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 5.553e-05/0.991, allocations: 125.2 kB / 1.193 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.9911, allocations: 3 kB / 1.193 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.9911, allocations: 10.25 kB / 1.193 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.9911, allocations: 0.7969 kB / 1.193 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9911, allocations: 1.094 kB / 1.193 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.9911, allocations: 0 / 1.193 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.9913, allocations: 125.3 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9913, allocations: 1.188 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.9914, allocations: 21.17 kB / 1.194 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.9914, allocations: 0.8438 kB / 1.194 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.9914, allocations: 4 kB / 1.194 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.9914, allocations: 3.938 kB / 1.194 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9914, allocations: 3.984 kB / 1.194 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.9915, allocations: 177.7 kB / 1.194 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.9915, allocations: 3.844 kB / 1.194 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9916, allocations: 1.766 kB / 1.194 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.9917, allocations: 3.656 kB / 1.194 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.9917, allocations: 4.031 kB / 1.194 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.9917, allocations: 7.219 kB / 1.194 GB, free: 10.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.93e-05/0.9917, allocations: 79.27 kB / 1.194 GB, free: 10.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9917, allocations: 0 / 1.194 GB, free: 10.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002394/0.9919, allocations: 18 kB / 1.194 GB, free: 10.49 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 9.593e-05/0.992, allocations: 103.4 kB / 1.194 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.9922, allocations: 49.25 kB / 1.194 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9922, allocations: 1.031 kB / 1.194 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.9922, allocations: 12.31 kB / 1.194 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.9925, allocations: 7.734 kB / 1.194 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.993, allocations: 337.5 kB / 1.194 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.657e-05/0.9931, allocations: 66.62 kB / 1.194 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.366e-05/0.9931, allocations: 9.312 kB / 1.194 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.9931, allocations: 11.62 kB / 1.194 GB, free: 10.01 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9931, allocations: 1 kB / 1.194 GB, free: 10.01 MB / 1.076 GB Notification: Performance of Templates: time 0.003317/0.9964, allocations: 0.6124 MB / 1.195 GB, free: 9.91 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.05117385298945]