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.001637/0.001637, allocations: 84.73 kB / 19.44 MB, free: 360 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.00177/0.00177, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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 3.233/3.233, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8775 GB, free: 5.41 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.343e-05, allocations: 2.906 kB / 0.8775 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003096/0.00313, allocations: 1.277 MB / 0.8788 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005197/0.008327, allocations: 3.078 MB / 0.8818 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.008356, allocations: 3.625 kB / 0.8818 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.008376, allocations: 4 kB / 0.8818 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.008438, allocations: 7.969 kB / 0.8818 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.00922, allocations: 107.4 kB / 0.8819 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.009328, allocations: 35.84 kB / 0.882 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.009367, allocations: 0 / 0.882 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.009448, allocations: 23.97 kB / 0.882 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.009523, allocations: 22.12 kB / 0.882 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.009543, allocations: 4 kB / 0.882 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.009805, allocations: 67.69 kB / 0.8821 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.009823, allocations: 8 kB / 0.8821 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.009861, allocations: 15.91 kB / 0.8821 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.01009, allocations: 60.88 kB / 0.8821 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.0101, allocations: 4 kB / 0.8821 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.203e-06/0.0101, allocations: 0 / 0.8821 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.01011, allocations: 1.062 kB / 0.8822 GB, free: 0.7148 MB / 0.7917 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.000507/0.01061, allocations: 274.2 kB / 0.8824 GB, free: 428 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.01066, allocations: 9.156 kB / 0.8824 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.01082, allocations: 8.938 kB / 0.8824 GB, free: 412 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.01095, allocations: 119.2 kB / 0.8825 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.01097, allocations: 8.375 kB / 0.8826 GB, free: 260 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.01103, allocations: 12.34 kB / 0.8826 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.01124, allocations: 135.3 kB / 0.8827 GB, free: 88 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.01125, allocations: 192 / 0.8827 GB, free: 88 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.01126, allocations: 6.281 kB / 0.8827 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.01127, allocations: 4 kB / 0.8827 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.01133, allocations: 15.98 kB / 0.8827 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.01154, allocations: 113.3 kB / 0.8828 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.01167, allocations: 50.5 kB / 0.8829 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.0117, allocations: 11.23 kB / 0.8829 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/0.01237, allocations: 242.1 kB / 0.8831 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.01241, allocations: 38.56 kB / 0.8832 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.01241, allocations: 0 / 0.8832 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0006788/0.01309, allocations: 234.2 kB / 0.8834 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.01313, allocations: 51.41 kB / 0.8834 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.01324, allocations: 103.5 kB / 0.8835 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.01327, allocations: 25.7 kB / 0.8835 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.01334, allocations: 88.09 kB / 0.8836 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.01336, allocations: 23.75 kB / 0.8837 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.01342, allocations: 29.7 kB / 0.8837 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.01363, allocations: 316.2 kB / 0.884 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.01367, allocations: 20.05 kB / 0.884 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.01376, allocations: 57.08 kB / 0.8841 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.01391, allocations: 80.97 kB / 0.8841 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01391, allocations: 0 / 0.8841 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000803/0.01471, allocations: 97.55 kB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.01473, allocations: 4 kB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.01474, allocations: 4 kB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.01477, allocations: 0 / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01487, allocations: 24.39 kB / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.01488, allocations: 4 kB / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.01492, allocations: 0 / 0.8843 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01493, allocations: 7.938 kB / 0.8843 GB, free: 14.28 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 0.0001263/0.01506, allocations: 117.8 kB / 0.8844 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.0151, allocations: 11.95 kB / 0.8844 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.01515, allocations: 12.11 kB / 0.8844 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01515, allocations: 4 kB / 0.8844 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.01516, allocations: 3.984 kB / 0.8844 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01517, allocations: 0 / 0.8844 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.01547, allocations: 129.2 kB / 0.8845 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01547, allocations: 0 / 0.8845 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.01556, allocations: 12 kB / 0.8845 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01556, allocations: 0 / 0.8845 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01557, allocations: 4 kB / 0.8846 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.01558, allocations: 3.984 kB / 0.8846 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.01558, allocations: 4.016 kB / 0.8846 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.01591, allocations: 179.4 kB / 0.8847 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.01594, allocations: 4.031 kB / 0.8847 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.01596, allocations: 8 kB / 0.8847 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.01607, allocations: 0 / 0.8847 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.0161, allocations: 11.98 kB / 0.8848 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.01611, allocations: 0 / 0.8848 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.01618, allocations: 83.28 kB / 0.8848 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01618, allocations: 0 / 0.8848 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002819/0.01646, allocations: 12 kB / 0.8848 GB, free: 13.63 MB / 0.8073 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.000187/0.01665, allocations: 103.2 kB / 0.8849 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.01679, allocations: 40.16 kB / 0.885 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.01679, allocations: 4 kB / 0.885 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.01682, allocations: 15.94 kB / 0.885 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.01717, allocations: 12.16 kB / 0.885 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.01784, allocations: 260.5 kB / 0.8853 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.248e-05/0.01794, allocations: 71.34 kB / 0.8853 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.635e-05/0.01798, allocations: 3.984 kB / 0.8853 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.01802, allocations: 16.5 kB / 0.8853 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.01802, allocations: 4 kB / 0.8854 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of Templates: time 0.003905/0.02192, allocations: 0.6407 MB / 0.886 GB, free: 12.44 MB / 0.8073 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.196805235929787]