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.001962/0.001962, allocations: 84.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002511/0.002511, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.935/2.935, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.883e-06/1.883e-06, allocations: 0 / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.388e-05, allocations: 5.797 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002381/0.002415, allocations: 1.276 MB / 1.001 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004392/0.006807, allocations: 3.074 MB / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.006835, allocations: 0 / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.006856, allocations: 0 / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.006915, allocations: 15.86 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.007516, allocations: 103.5 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.236e-05/0.007598, allocations: 35.86 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.007638, allocations: 0 / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.007715, allocations: 31.89 kB / 1.005 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.00778, allocations: 15.98 kB / 1.005 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.007794, allocations: 0 / 1.005 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.008024, allocations: 75.69 kB / 1.005 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.008044, allocations: 7.984 kB / 1.005 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.008073, allocations: 11.98 kB / 1.005 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.008277, allocations: 63.8 kB / 1.005 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.008283, allocations: 4 kB / 1.005 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008284, allocations: 4 kB / 1.005 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.00829, allocations: 0 / 1.005 GB, free: 2.598 MB / 0.9512 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.0005006/0.008791, allocations: 270.3 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.008833, allocations: 12.03 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.008982, allocations: 8.891 kB / 1.005 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.009113, allocations: 113.7 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.009128, allocations: 384 / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.009154, allocations: 8.312 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.009356, allocations: 135.3 kB / 1.005 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.009366, allocations: 192 / 1.005 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.009383, allocations: 8.125 kB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.009389, allocations: 3.984 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.009446, allocations: 15.98 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.009627, allocations: 113.3 kB / 1.005 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.00974, allocations: 54.48 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.009774, allocations: 16.86 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/0.01043, allocations: 242 kB / 1.006 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.01047, allocations: 42.55 kB / 1.006 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.01047, allocations: 0 / 1.006 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006254/0.0111, allocations: 221.5 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.01115, allocations: 55.41 kB / 1.006 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.01128, allocations: 113.7 kB / 1.006 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.0113, allocations: 25.7 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.01138, allocations: 88.08 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.01141, allocations: 27.75 kB / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.01148, allocations: 29.7 kB / 1.006 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.01168, allocations: 318.8 kB / 1.007 GB, free: 496 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.01172, allocations: 8 kB / 1.007 GB, free: 488 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.01178, allocations: 53.14 kB / 1.007 GB, free: 416 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.01189, allocations: 81.02 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01189, allocations: 0 / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001582/0.01205, allocations: 89.55 kB / 1.007 GB, free: 220 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01206, allocations: 4 kB / 1.007 GB, free: 216 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.01207, allocations: 4 kB / 1.007 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01209, allocations: 0 / 1.007 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.01217, allocations: 27.92 kB / 1.007 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01217, allocations: 4 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.01221, allocations: 128 / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.01222, allocations: 8 kB / 1.007 GB, free: 172 kB / 0.9512 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.0001071/0.01233, allocations: 122.2 kB / 1.007 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.01236, allocations: 7.953 kB / 1.007 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.01239, allocations: 8.125 kB / 1.007 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01239, allocations: 3.938 kB / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01239, allocations: 4 kB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01239, allocations: 0 / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.01263, allocations: 125.3 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01263, allocations: 4 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.01272, allocations: 12 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01272, allocations: 7.938 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.01274, allocations: 4 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01274, allocations: 0 / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01274, allocations: 0 / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.01295, allocations: 175.5 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.01297, allocations: 11.98 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.01299, allocations: 0 / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01309, allocations: 4 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.01311, allocations: 3.984 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01312, allocations: 8 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.01318, allocations: 79.66 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01318, allocations: 0 / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004098/0.01359, allocations: 16 kB / 1.007 GB, free: 15.53 MB / 0.9669 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.0001807/0.01377, allocations: 99.38 kB / 1.007 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01389, allocations: 43.98 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01389, allocations: 0 / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.01394, allocations: 23.91 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01424, allocations: 22.28 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.01484, allocations: 240.7 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8e-05/0.01492, allocations: 67.34 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.764e-05/0.01496, allocations: 11.98 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.015, allocations: 16.48 kB / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.015, allocations: 0 / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.003703/0.0187, allocations: 0.613 MB / 1.008 GB, free: 14.36 MB / 0.9669 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.442566029727459]