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.001087/0.001087, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001303/0.001303, allocations: 178.2 kB / 23.21 MB, free: 1.352 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 0.8587/0.8587, allocations: 177.1 MB / 203.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.742/1.742, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] 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.704e-06/1.704e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.664e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002338/0.002365, allocations: 1.269 MB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.004946, allocations: 3.067 MB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.00497, allocations: 3.938 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.004987, allocations: 7.938 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.005024, allocations: 4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.005437, allocations: 111.3 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.005507, allocations: 39.91 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 2.923e-05/0.005536, allocations: 3.938 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.005592, allocations: 23.97 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.005646, allocations: 11.98 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.005662, allocations: 4 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.005813, allocations: 79.67 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.005826, allocations: 7.984 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.005845, allocations: 8 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.005981, allocations: 67.78 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005983, allocations: 4 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005984, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.005988, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 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.0003053/0.006293, allocations: 270.3 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.006329, allocations: 9.344 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.006404, allocations: 8.891 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.919e-05/0.006473, allocations: 117.8 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.006483, allocations: 384 / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.006504, allocations: 4.375 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.00663, allocations: 135.3 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006637, allocations: 4.125 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.006649, allocations: 8.125 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.006653, allocations: 0 / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.006694, allocations: 23.95 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.006803, allocations: 109.3 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.006878, allocations: 54.55 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.006901, allocations: 24.84 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004139/0.007315, allocations: 241.7 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.007333, allocations: 38.56 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.007334, allocations: 0 / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004191/0.007753, allocations: 217.5 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.007781, allocations: 63.33 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/0.007833, allocations: 101.8 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.007844, allocations: 25.7 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.007881, allocations: 92.03 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.007894, allocations: 23.84 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.007925, allocations: 29.67 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.007998, allocations: 318.8 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.008018, allocations: 12 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.008059, allocations: 53.14 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.008124, allocations: 80.95 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008125, allocations: 0 / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.969e-05/0.008214, allocations: 93.83 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.008225, allocations: 4 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.00823, allocations: 4 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.008241, allocations: 0 / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.00829, allocations: 24 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.008296, allocations: 11.86 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.008317, allocations: 4 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.008323, allocations: 7.984 kB / 1.008 GB, free: 5.891 MB / 0.9636 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 5.381e-05/0.008377, allocations: 121.8 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.008393, allocations: 7.953 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.008412, allocations: 8.125 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.008415, allocations: 4 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008419, allocations: 0 / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008422, allocations: 0 / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.008551, allocations: 121.2 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008552, allocations: 0 / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.008598, allocations: 16.42 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.008599, allocations: 0 / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.008607, allocations: 4 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.008609, allocations: 11.94 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00861, allocations: 4 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.008729, allocations: 167.5 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.008749, allocations: 11.95 kB / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.00876, allocations: 4.031 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.008816, allocations: 4 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.008829, allocations: 0 / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.008834, allocations: 8 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.00886, allocations: 79.27 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00886, allocations: 4 kB / 1.008 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001541/0.009014, allocations: 15.94 kB / 1.008 GB, free: 5.258 MB / 0.9636 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 8.478e-05/0.009099, allocations: 103.2 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.009181, allocations: 39.92 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.009182, allocations: 0 / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.009196, allocations: 15.98 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.00938, allocations: 13.66 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.009762, allocations: 286.8 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.187e-05/0.009803, allocations: 67.28 kB / 1.009 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.009826, allocations: 12.5 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.009826, allocations: 0 / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of Templates: time 0.001452/0.01128, allocations: 0.8047 MB / 1.009 GB, free: 3.867 MB / 0.9636 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: 6.260713044553995]