Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.1 MB / 0.7178 GB, free: 4.777 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002327/0.337, allocations: 1.273 MB / 1.177 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.3411, allocations: 3.245 MB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.3411, allocations: 3.938 kB / 1.18 GB, free: 1.336 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.3411, allocations: 7.922 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.3412, allocations: 7.922 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.3417, allocations: 111.5 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.3418, allocations: 27.92 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.3419, allocations: 4 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.3419, allocations: 27.91 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.342, allocations: 15.92 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.342, allocations: 4 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.3423, allocations: 75.8 kB / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3423, allocations: 8 kB / 1.181 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3423, allocations: 19.91 kB / 1.181 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.3425, allocations: 59.81 kB / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3425, allocations: 0 / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3425, allocations: 0 / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3425, allocations: 4 kB / 1.181 GB, free: 0.9688 MB / 0.92 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.0004481/0.343, allocations: 351.4 kB / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.343, allocations: 8.031 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.314e-05/0.3431, allocations: 4.938 kB / 1.181 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3433, allocations: 164.3 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3433, allocations: 8.312 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.3433, allocations: 12.33 kB / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3435, allocations: 61.77 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3435, allocations: 0 / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3435, allocations: 11.94 kB / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3435, allocations: 0 / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.3436, allocations: 19.97 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.3438, allocations: 161.7 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3439, allocations: 54.53 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.3439, allocations: 24.8 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007807/0.3447, allocations: 0.5948 MB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.3448, allocations: 34.56 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3448, allocations: 0 / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005914/0.3454, allocations: 306.7 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3454, allocations: 51.41 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.3455, allocations: 101.9 kB / 1.182 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3455, allocations: 25.7 kB / 1.183 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.3456, allocations: 84.09 kB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3456, allocations: 35.67 kB / 1.183 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.3457, allocations: 29.7 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3458, allocations: 318.8 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.3459, allocations: 12 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.3459, allocations: 57.14 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.3461, allocations: 73.02 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3461, allocations: 0 / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001401/0.3462, allocations: 97.5 kB / 1.183 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3462, allocations: 8 kB / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3462, allocations: 3.938 kB / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3463, allocations: 4 kB / 1.183 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.3464, allocations: 27.92 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3464, allocations: 0 / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.3464, allocations: 7.938 kB / 1.183 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3464, allocations: 4 kB / 1.183 GB, free: 13.84 MB / 0.9356 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 9.255e-05/0.3465, allocations: 118 kB / 1.183 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3465, allocations: 0 / 1.183 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.3466, allocations: 7.969 kB / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3466, allocations: 4 kB / 1.183 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3466, allocations: 3.938 kB / 1.183 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3466, allocations: 3.938 kB / 1.183 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.3469, allocations: 177.7 kB / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3469, allocations: 0 / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.347, allocations: 15.98 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.347, allocations: 4 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.347, allocations: 4 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.347, allocations: 0 / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.347, allocations: 0 / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.3472, allocations: 171.7 kB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.3473, allocations: 81.2 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.3473, allocations: 8.016 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3474, allocations: 11.94 kB / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.3474, allocations: 4 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3475, allocations: 7.938 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.3475, allocations: 79.27 kB / 1.184 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3475, allocations: 4 kB / 1.184 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002346/0.3478, allocations: 12 kB / 1.184 GB, free: 13.04 MB / 0.9356 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.0001336/0.3479, allocations: 99.25 kB / 1.184 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.348, allocations: 44.11 kB / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.348, allocations: 0 / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.3481, allocations: 27.91 kB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3483, allocations: 10.41 kB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.349, allocations: 355.7 kB / 1.184 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3493, allocations: 0.6884 MB / 1.185 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.3493, allocations: 11.44 kB / 1.185 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3493, allocations: 3.938 kB / 1.185 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.002062/0.3514, allocations: 0.7775 MB / 1.186 GB, free: 10.97 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.322227117954753]