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.001454/0.001454, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001571/0.001571, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.531/1.531, allocations: 177.2 MB / 203.9 MB, free: 5.59 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 2.815/2.815, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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 1.713e-06/1.713e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.637e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003749/0.003786, allocations: 1.281 MB / 0.7876 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007213/0.011, allocations: 3.083 MB / 0.7906 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.01104, allocations: 0 / 0.7906 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.01106, allocations: 3.938 kB / 0.7906 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.01113, allocations: 5.438 kB / 0.7906 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.01186, allocations: 107.5 kB / 0.7907 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.01196, allocations: 37.72 kB / 0.7907 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.01201, allocations: 7.984 kB / 0.7907 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.0121, allocations: 23.92 kB / 0.7908 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.01218, allocations: 15.91 kB / 0.7908 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.0122, allocations: 6.375 kB / 0.7908 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.01248, allocations: 63.77 kB / 0.7908 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.01251, allocations: 11.97 kB / 0.7909 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.01256, allocations: 12 kB / 0.7909 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.01282, allocations: 75.72 kB / 0.7909 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01282, allocations: 0 / 0.7909 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.355e-06/0.01282, allocations: 0.625 kB / 0.7909 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.01283, allocations: 0 / 0.7909 GB, free: 8.133 MB / 0.7448 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.0006255/0.01346, allocations: 267.9 kB / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.01351, allocations: 12.03 kB / 0.7912 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.01369, allocations: 16.81 kB / 0.7912 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.01384, allocations: 106.4 kB / 0.7913 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.01386, allocations: 384 / 0.7913 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.0139, allocations: 9.688 kB / 0.7913 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.01418, allocations: 135.3 kB / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01419, allocations: 192 / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.01422, allocations: 12.12 kB / 0.7915 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01422, allocations: 1.156 kB / 0.7915 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.0143, allocations: 15.97 kB / 0.7915 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.01455, allocations: 113.3 kB / 0.7916 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.01471, allocations: 47.88 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.01476, allocations: 20.84 kB / 0.7917 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008317/0.0156, allocations: 247.5 kB / 0.7919 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.01564, allocations: 30.56 kB / 0.7919 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.01564, allocations: 0 / 0.7919 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0008215/0.01646, allocations: 225.5 kB / 0.7921 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.01652, allocations: 52.16 kB / 0.7922 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.01665, allocations: 109.7 kB / 0.7923 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.01669, allocations: 34.48 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.01677, allocations: 91.97 kB / 0.7924 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.01681, allocations: 24.34 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.0169, allocations: 31.61 kB / 0.7925 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.01713, allocations: 310.8 kB / 0.7928 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.01718, allocations: 15.98 kB / 0.7928 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.01728, allocations: 49.14 kB / 0.7928 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.01744, allocations: 79.31 kB / 0.7929 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01744, allocations: 0 / 0.7929 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00024/0.01768, allocations: 94.7 kB / 0.793 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.01771, allocations: 8 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01771, allocations: 0.5312 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.01773, allocations: 8.828 kB / 0.793 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.01786, allocations: 28 kB / 0.793 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01787, allocations: 0 / 0.793 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.01794, allocations: 4.844 kB / 0.793 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.01795, allocations: 4 kB / 0.793 GB, free: 5.715 MB / 0.7448 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.0001469/0.0181, allocations: 122.9 kB / 0.7932 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.01815, allocations: 7.984 kB / 0.7932 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.01819, allocations: 12.12 kB / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01819, allocations: 0.6562 kB / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.01819, allocations: 0.8438 kB / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.0182, allocations: 0 / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.01859, allocations: 125.2 kB / 0.7933 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01859, allocations: 1.594 kB / 0.7933 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.01876, allocations: 15.98 kB / 0.7933 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.01877, allocations: 4 kB / 0.7933 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01878, allocations: 0 / 0.7933 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01878, allocations: 0.9688 kB / 0.7933 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01878, allocations: 0 / 0.7933 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.0191, allocations: 191.3 kB / 0.7935 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.01914, allocations: 11.33 kB / 0.7935 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.01916, allocations: 0 / 0.7935 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.01934, allocations: 8 kB / 0.7935 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.01937, allocations: 4.031 kB / 0.7935 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01938, allocations: 4 kB / 0.7935 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.966e-05/0.01945, allocations: 75.66 kB / 0.7936 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01945, allocations: 0 / 0.7936 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004742/0.01993, allocations: 16 kB / 0.7936 GB, free: 5.078 MB / 0.7448 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.0001975/0.02012, allocations: 106.8 kB / 0.7937 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.0203, allocations: 41.98 kB / 0.7938 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.0203, allocations: 0 / 0.7938 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.02035, allocations: 19.94 kB / 0.7938 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.02073, allocations: 11.92 kB / 0.7938 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.02131, allocations: 256.7 kB / 0.794 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.02138, allocations: 64 kB / 0.7941 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.02143, allocations: 11.98 kB / 0.7941 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.02146, allocations: 12.5 kB / 0.7941 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.02147, allocations: 0 / 0.7941 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.00328/0.02475, allocations: 0.6343 MB / 0.7947 GB, free: 3.906 MB / 0.7448 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 7.735194881912321]