Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002519/0.002519, allocations: 75.7 kB / 20.23 MB, free: 4.191 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.002517/0.002517, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.073/3.073, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7863 GB, free: 11.76 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.217e-05, allocations: 2.312 kB / 0.7863 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002732/0.002764, allocations: 1.282 MB / 0.7876 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004872/0.007636, allocations: 3.368 MB / 0.7909 GB, free: 7.109 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.007667, allocations: 0 / 0.7909 GB, free: 7.109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.007684, allocations: 0 / 0.7909 GB, free: 7.109 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/0.007741, allocations: 5.375 kB / 0.7909 GB, free: 7.105 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.008323, allocations: 107.4 kB / 0.791 GB, free: 7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.008417, allocations: 42.41 kB / 0.791 GB, free: 6.961 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.008455, allocations: 4 kB / 0.791 GB, free: 6.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.008539, allocations: 27.91 kB / 0.791 GB, free: 6.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.008602, allocations: 7.984 kB / 0.7911 GB, free: 6.922 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.008621, allocations: 4 kB / 0.7911 GB, free: 6.918 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.008849, allocations: 75.67 kB / 0.7911 GB, free: 6.844 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.008867, allocations: 4.531 kB / 0.7911 GB, free: 6.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.008901, allocations: 16.7 kB / 0.7911 GB, free: 6.824 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.00911, allocations: 71.72 kB / 0.7912 GB, free: 6.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.009115, allocations: 0.5312 kB / 0.7912 GB, free: 6.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.009116, allocations: 0 / 0.7912 GB, free: 6.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.009122, allocations: 1.656 kB / 0.7912 GB, free: 6.754 MB / 0.698 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.0005545/0.009676, allocations: 372.2 kB / 0.7916 GB, free: 6.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.00972, allocations: 12.03 kB / 0.7916 GB, free: 6.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.009857, allocations: 13.39 kB / 0.7916 GB, free: 6.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.009983, allocations: 113.2 kB / 0.7917 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.009996, allocations: 384 / 0.7917 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.01002, allocations: 9.156 kB / 0.7917 GB, free: 6.188 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.01023, allocations: 131.3 kB / 0.7918 GB, free: 6.035 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.01024, allocations: 1.344 kB / 0.7918 GB, free: 6.035 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.01026, allocations: 8.125 kB / 0.7919 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.01027, allocations: 0 / 0.7919 GB, free: 6.027 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.01033, allocations: 25.28 kB / 0.7919 GB, free: 6.004 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.01055, allocations: 116.6 kB / 0.792 GB, free: 5.855 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.01068, allocations: 55.05 kB / 0.792 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.01072, allocations: 19.67 kB / 0.7921 GB, free: 5.766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.01138, allocations: 301.7 kB / 0.7923 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.01144, allocations: 42.17 kB / 0.7924 GB, free: 5.398 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.01144, allocations: 0 / 0.7924 GB, free: 5.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0008799/0.01232, allocations: 231.2 kB / 0.7926 GB, free: 5.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.01237, allocations: 55.39 kB / 0.7927 GB, free: 5.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.0125, allocations: 154.8 kB / 0.7928 GB, free: 4.902 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.01252, allocations: 33.64 kB / 0.7928 GB, free: 4.863 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.01261, allocations: 136.2 kB / 0.793 GB, free: 4.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.01264, allocations: 31.73 kB / 0.793 GB, free: 4.695 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.0127, allocations: 31.38 kB / 0.793 GB, free: 4.656 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002797/0.01298, allocations: 0.4884 MB / 0.7935 GB, free: 4.156 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.01301, allocations: 9.156 kB / 0.7935 GB, free: 4.148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.01311, allocations: 78.11 kB / 0.7936 GB, free: 4.047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.01324, allocations: 96.08 kB / 0.7937 GB, free: 3.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01324, allocations: 0 / 0.7937 GB, free: 3.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001756/0.01341, allocations: 103.9 kB / 0.7938 GB, free: 3.824 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01343, allocations: 8 kB / 0.7938 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01343, allocations: 0 / 0.7938 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01345, allocations: 4 kB / 0.7938 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.01354, allocations: 23.94 kB / 0.7938 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.01355, allocations: 4.516 kB / 0.7938 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.01358, allocations: 4 kB / 0.7938 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.01359, allocations: 5.938 kB / 0.7938 GB, free: 3.777 MB / 0.698 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 0.0001308/0.01372, allocations: 164.5 kB / 0.794 GB, free: 3.605 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.01375, allocations: 4 kB / 0.794 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.01379, allocations: 8.125 kB / 0.794 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01379, allocations: 1.094 kB / 0.794 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01379, allocations: 0 / 0.794 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.0138, allocations: 4 kB / 0.794 GB, free: 3.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.01405, allocations: 137.3 kB / 0.7941 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01405, allocations: 0 / 0.7941 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.01415, allocations: 24.7 kB / 0.7942 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01415, allocations: 0 / 0.7942 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.01416, allocations: 3.156 kB / 0.7942 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01416, allocations: 0 / 0.7942 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01416, allocations: 3.938 kB / 0.7942 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.01443, allocations: 231.8 kB / 0.7944 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.01446, allocations: 4 kB / 0.7944 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01447, allocations: 3.984 kB / 0.7944 GB, free: 3.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.01457, allocations: 8 kB / 0.7944 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.01459, allocations: 0 / 0.7944 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.0146, allocations: 5.781 kB / 0.7944 GB, free: 3.129 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.583e-05/0.01468, allocations: 131.1 kB / 0.7945 GB, free: 3 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01468, allocations: 0 / 0.7945 GB, free: 3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002301/0.01491, allocations: 12 kB / 0.7945 GB, free: 2.988 MB / 0.698 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 0.0001608/0.01508, allocations: 96.19 kB / 0.7946 GB, free: 2.883 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.01522, allocations: 56.72 kB / 0.7947 GB, free: 2.824 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01523, allocations: 0 / 0.7947 GB, free: 2.824 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.01527, allocations: 28.8 kB / 0.7947 GB, free: 2.793 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.01551, allocations: 11.94 kB / 0.7947 GB, free: 2.781 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.01609, allocations: 271.2 kB / 0.795 GB, free: 2.492 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.169e-05/0.01617, allocations: 64 kB / 0.795 GB, free: 2.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.01622, allocations: 11.98 kB / 0.7951 GB, free: 2.398 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.01625, allocations: 12.5 kB / 0.7951 GB, free: 2.383 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.01625, allocations: 0 / 0.7951 GB, free: 2.383 MB / 0.698 GB Notification: Performance of Templates: time 0.003795/0.02005, allocations: 0.6462 MB / 0.7957 GB, free: 1.754 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.21356286201626]