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.0008324/0.0008324, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001963, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00117/0.00117, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002625, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/1.152, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.304/2.304, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2459/2.55, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.573e-06/1.573e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.553e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001542/0.001558, allocations: 1.357 MB / 0.8196 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.004132, allocations: 3.386 MB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.00415, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.945e-06/0.004158, allocations: 4 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.849e-05/0.004177, allocations: 3.984 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.004472, allocations: 107.4 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.445e-05/0.004536, allocations: 35.86 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.004571, allocations: 3.984 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.00463, allocations: 23.97 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.004689, allocations: 15.92 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.004701, allocations: 4 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.004861, allocations: 75.73 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.004873, allocations: 7.938 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.004891, allocations: 8 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.005028, allocations: 59.83 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.005041, allocations: 0 / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005042, allocations: 0 / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.005054, allocations: 0 / 0.8232 GB, free: 13.83 MB / 0.8073 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.0003395/0.005394, allocations: 260.6 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.005426, allocations: 11.97 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.005658, allocations: 93.97 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.973e-05/0.005728, allocations: 109.8 kB / 0.8237 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.005737, allocations: 384 / 0.8237 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.005759, allocations: 16.33 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.005871, allocations: 123.3 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.005878, allocations: 192 / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005889, allocations: 8.125 kB / 0.8238 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.005893, allocations: 0 / 0.8238 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.005924, allocations: 11.98 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.789e-05/0.006012, allocations: 68.98 kB / 0.8239 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.833e-05/0.00607, allocations: 46.62 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.006086, allocations: 24.83 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/0.006443, allocations: 216.4 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.006466, allocations: 42.48 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.006468, allocations: 0 / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0003928/0.00686, allocations: 229.2 kB / 0.8244 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.006887, allocations: 59.41 kB / 0.8245 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.00694, allocations: 110.6 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.006949, allocations: 25.7 kB / 0.8246 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.006986, allocations: 92.03 kB / 0.8247 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.006998, allocations: 27.73 kB / 0.8247 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.007024, allocations: 25.7 kB / 0.8248 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.007092, allocations: 322.8 kB / 0.8251 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.007102, allocations: 7.984 kB / 0.8251 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.007135, allocations: 41.16 kB / 0.8251 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.007186, allocations: 72.98 kB / 0.8252 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007187, allocations: 0 / 0.8252 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.745e-05/0.007254, allocations: 77.48 kB / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.007266, allocations: 8 kB / 0.8253 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.007271, allocations: 0 / 0.8253 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.007279, allocations: 4 kB / 0.8253 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.007331, allocations: 23.98 kB / 0.8253 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.007335, allocations: 8.062 kB / 0.8253 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.007355, allocations: 8 kB / 0.8253 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.007359, allocations: 0 / 0.8253 GB, free: 11.43 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 4.437e-05/0.007403, allocations: 109.8 kB / 0.8254 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.00742, allocations: 15.92 kB / 0.8254 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.007442, allocations: 8.125 kB / 0.8254 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.007444, allocations: 4 kB / 0.8254 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.007446, allocations: 0 / 0.8254 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.007448, allocations: 0 / 0.8254 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.007563, allocations: 81.88 kB / 0.8255 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007564, allocations: 4 kB / 0.8255 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.007609, allocations: 16.42 kB / 0.8255 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.007627, allocations: 15.83 kB / 0.8256 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.007628, allocations: 0 / 0.8256 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.007635, allocations: 8 kB / 0.8256 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.007635, allocations: 0 / 0.8256 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007636, allocations: 4.219 kB / 0.8256 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.581e-05/0.007732, allocations: 155.5 kB / 0.8257 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.007742, allocations: 7.922 kB / 0.8257 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.299e-05/0.007785, allocations: 8.047 kB / 0.8257 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.007797, allocations: 3.984 kB / 0.8257 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.007801, allocations: 8 kB / 0.8257 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.576e-06/0.007809, allocations: 8.844 kB / 0.8258 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007809, allocations: 0 / 0.8258 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001218/0.007931, allocations: 16 kB / 0.8258 GB, free: 10.91 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 7.653e-05/0.008008, allocations: 80.36 kB / 0.8258 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.267e-05/0.00808, allocations: 44.77 kB / 0.8259 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.008085, allocations: 256 / 0.8259 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.008099, allocations: 24.84 kB / 0.8259 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.008222, allocations: 12 kB / 0.8259 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008701/0.009092, allocations: 188.1 kB / 0.8261 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.009125, allocations: 63.36 kB / 0.8262 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.009155, allocations: 3.984 kB / 0.8262 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.009208, allocations: 63.38 kB / 0.8262 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.009208, allocations: 4 kB / 0.8262 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.002155/0.01136, allocations: 0.759 MB / 0.827 GB, free: 9.633 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.ref.csv","",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] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 5.116283671930432]