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.001074/0.001074, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002605, allocations: 440 kB / 10.41 MB, free: 284 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.001093/0.001093, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002558, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9558/0.9558, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08112/1.037, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.372/2.372, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2876/2.66, allocations: 146 MB / 0.8176 GB, free: 3.836 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.323e-06/1.323e-06, allocations: 0 / 0.8189 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.222e-05, allocations: 4.422 kB / 0.8189 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001455/0.001467, allocations: 1.356 MB / 0.8202 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.004171, allocations: 3.386 MB / 0.8235 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.004191, allocations: 0 / 0.8235 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.799e-06/0.004201, allocations: 7.922 kB / 0.8235 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.899e-05/0.00422, allocations: 3.938 kB / 0.8235 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.00449, allocations: 99.48 kB / 0.8236 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.004554, allocations: 43.84 kB / 0.8237 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.757e-05/0.004582, allocations: 4 kB / 0.8237 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.004637, allocations: 39.83 kB / 0.8237 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.004688, allocations: 7.984 kB / 0.8237 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.004698, allocations: 4 kB / 0.8237 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.004856, allocations: 67.75 kB / 0.8238 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.004868, allocations: 4 kB / 0.8238 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.004887, allocations: 19.94 kB / 0.8238 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.005006, allocations: 59.81 kB / 0.8239 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.005016, allocations: 0 / 0.8239 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.005016, allocations: 0 / 0.8239 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.005026, allocations: 4 kB / 0.8239 GB, free: 13.41 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.0002814/0.005308, allocations: 256.6 kB / 0.8241 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.005334, allocations: 8.031 kB / 0.8241 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.005439, allocations: 89.98 kB / 0.8242 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.762e-05/0.005497, allocations: 113.8 kB / 0.8243 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.005505, allocations: 4.375 kB / 0.8243 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.005525, allocations: 12.27 kB / 0.8243 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/0.005617, allocations: 131.3 kB / 0.8245 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.005622, allocations: 4.188 kB / 0.8245 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.005629, allocations: 4.125 kB / 0.8245 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005633, allocations: 8 kB / 0.8245 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.005661, allocations: 15.98 kB / 0.8245 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.352e-05/0.005734, allocations: 65.03 kB / 0.8246 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.052e-05/0.005795, allocations: 42.62 kB / 0.8246 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.005808, allocations: 12.86 kB / 0.8246 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.006107, allocations: 216.3 kB / 0.8248 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.006128, allocations: 42.5 kB / 0.8249 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.006128, allocations: 0 / 0.8249 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0003599/0.006488, allocations: 233.2 kB / 0.8251 GB, free: 12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.006507, allocations: 51.41 kB / 0.8251 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.006554, allocations: 110.6 kB / 0.8252 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.006564, allocations: 33.64 kB / 0.8253 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.006593, allocations: 88.09 kB / 0.8253 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.006611, allocations: 31.72 kB / 0.8254 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.006637, allocations: 21.72 kB / 0.8254 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.006701, allocations: 318.8 kB / 0.8257 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.006712, allocations: 12 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.006742, allocations: 49.08 kB / 0.8258 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.006788, allocations: 65.06 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006789, allocations: 3.938 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.758e-05/0.006857, allocations: 81.47 kB / 0.8259 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.006868, allocations: 8.125 kB / 0.8259 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006871, allocations: 4 kB / 0.8259 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.006881, allocations: 4 kB / 0.8259 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.303e-05/0.006924, allocations: 23.92 kB / 0.8259 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.006928, allocations: 4 kB / 0.8259 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.006946, allocations: 0 / 0.8259 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.006953, allocations: 8 kB / 0.826 GB, free: 11.01 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.407e-05/0.006997, allocations: 113.8 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.007013, allocations: 11.94 kB / 0.8261 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.007034, allocations: 8.125 kB / 0.8261 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.007035, allocations: 4 kB / 0.8261 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007037, allocations: 448 / 0.8261 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.00704, allocations: 7.984 kB / 0.8261 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.00715, allocations: 77.88 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007152, allocations: 4 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.007192, allocations: 16 kB / 0.8262 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.007212, allocations: 15.88 kB / 0.8262 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.007213, allocations: 0 / 0.8262 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.007217, allocations: 0 / 0.8262 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.007218, allocations: 0 / 0.8262 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.007218, allocations: 4 kB / 0.8262 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.391e-05/0.007312, allocations: 163.5 kB / 0.8264 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.007321, allocations: 3.938 kB / 0.8264 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.00736, allocations: 0 / 0.8264 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.007372, allocations: 11.98 kB / 0.8264 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.007376, allocations: 0 / 0.8264 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.395e-06/0.007384, allocations: 9.188 kB / 0.8264 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007384, allocations: 0 / 0.8264 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001216/0.007506, allocations: 16 kB / 0.8264 GB, free: 10.5 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.836e-05/0.007584, allocations: 88.53 kB / 0.8265 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.779e-05/0.007652, allocations: 44.72 kB / 0.8265 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.007656, allocations: 0 / 0.8265 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.007675, allocations: 20.84 kB / 0.8265 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.007792, allocations: 19.98 kB / 0.8266 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.008623, allocations: 192.4 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.917e-05/0.008652, allocations: 59.34 kB / 0.8268 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.008684, allocations: 8 kB / 0.8268 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.008736, allocations: 67.36 kB / 0.8269 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.008737, allocations: 0 / 0.8269 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of Templates: time 0.001966/0.0107, allocations: 0.7324 MB / 0.8276 GB, free: 9.23 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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.39389446657151]