Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.0008016/0.0008016, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002048, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007154/0.0007154, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000971/0.001686, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9519/0.9519, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09499/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.839/1.839, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4589/2.298, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7296 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.474e-05, allocations: 6.859 kB / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002698/0.002723, allocations: 1.352 MB / 0.7309 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1408/0.1435, allocations: 133.3 MB / 0.8611 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.1436, allocations: 0 / 0.8611 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.1436, allocations: 0 / 0.8611 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.1436, allocations: 7.875 kB / 0.8611 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009215/0.1446, allocations: 434.1 kB / 0.8615 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.1446, allocations: 35.86 kB / 0.8615 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.1447, allocations: 7.984 kB / 0.8615 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.1447, allocations: 31.97 kB / 0.8616 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.1448, allocations: 19.95 kB / 0.8616 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1448, allocations: 3.938 kB / 0.8616 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1459, allocations: 0.8387 MB / 0.8624 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.1459, allocations: 4 kB / 0.8624 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.1459, allocations: 16 kB / 0.8624 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.1464, allocations: 419.2 kB / 0.8628 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.1464, allocations: 0 / 0.8628 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1464, allocations: 0 / 0.8628 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.1464, allocations: 0 / 0.8628 GB, free: 11.78 MB / 0.8386 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.0003972/0.1468, allocations: 296.4 kB / 0.8631 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1468, allocations: 8.031 kB / 0.8631 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.147, allocations: 105.9 kB / 0.8632 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.844e-05/0.1471, allocations: 113.8 kB / 0.8633 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.1471, allocations: 384 / 0.8633 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1471, allocations: 16.27 kB / 0.8633 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1472, allocations: 127.3 kB / 0.8635 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1472, allocations: 3.938 kB / 0.8635 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.1472, allocations: 0 / 0.8635 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1472, allocations: 8 kB / 0.8635 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.1473, allocations: 11.98 kB / 0.8635 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.727e-05/0.1474, allocations: 69.03 kB / 0.8636 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.406e-05/0.1474, allocations: 42.56 kB / 0.8636 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.1474, allocations: 12.8 kB / 0.8636 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004296/0.1517, allocations: 2.458 MB / 0.866 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1518, allocations: 34.56 kB / 0.866 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.1518, allocations: 0 / 0.866 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0142/0.166, allocations: 6.405 MB / 0.8723 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.166, allocations: 55.41 kB / 0.8723 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.166, allocations: 98.72 kB / 0.8724 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.166, allocations: 25.7 kB / 0.8725 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.1661, allocations: 88.14 kB / 0.8725 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1661, allocations: 43.61 kB / 0.8726 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1661, allocations: 33.62 kB / 0.8726 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.1662, allocations: 318.8 kB / 0.8729 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.1662, allocations: 11.98 kB / 0.8729 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.1663, allocations: 16 kB / 0.873 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.1663, allocations: 43.02 kB / 0.873 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1663, allocations: 128 / 0.873 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001137/0.1664, allocations: 81.56 kB / 0.8731 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1665, allocations: 8 kB / 0.8731 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1665, allocations: 3.938 kB / 0.8731 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1665, allocations: 0 / 0.8731 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.1666, allocations: 27.98 kB / 0.8731 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1666, allocations: 4 kB / 0.8731 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.1666, allocations: 7.938 kB / 0.8731 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1666, allocations: 0 / 0.8731 GB, free: 0.918 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.562e-05/0.1666, allocations: 113.8 kB / 0.8732 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1667, allocations: 19.92 kB / 0.8732 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.1668, allocations: 93.44 kB / 0.8733 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1668, allocations: 0 / 0.8733 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1668, allocations: 0 / 0.8733 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1668, allocations: 4 kB / 0.8733 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.578e-05/0.1669, allocations: 81.81 kB / 0.8734 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1669, allocations: 4 kB / 0.8734 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.167, allocations: 31.92 kB / 0.8735 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.167, allocations: 8 kB / 0.8735 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.167, allocations: 3.984 kB / 0.8735 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.167, allocations: 8 kB / 0.8735 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.167, allocations: 3.938 kB / 0.8735 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.167, allocations: 0 / 0.8735 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1672, allocations: 113 kB / 0.8736 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1672, allocations: 4 kB / 0.8736 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.1673, allocations: 11.98 kB / 0.8736 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.1673, allocations: 15.86 kB / 0.8736 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1673, allocations: 8 kB / 0.8736 GB, free: 356 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.184e-05/0.1673, allocations: 8.859 kB / 0.8736 GB, free: 344 kB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.1673, allocations: 0 / 0.8736 GB, free: 344 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001348/0.1686, allocations: 0.5583 MB / 0.8742 GB, free: 15.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.002077/0.1707, allocations: 400.4 kB / 0.8746 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1708, allocations: 52.78 kB / 0.8746 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1708, allocations: 0 / 0.8746 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.1709, allocations: 40.77 kB / 0.8746 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.171, allocations: 34.22 kB / 0.8747 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.1719, allocations: 187.7 kB / 0.8749 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.172, allocations: 71.16 kB / 0.8749 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.172, allocations: 24.59 kB / 0.875 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.1721, allocations: 79.3 kB / 0.875 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.1721, allocations: 0 / 0.875 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.02983/0.202, allocations: 25.91 MB / 0.9003 GB, free: 4.926 MB / 0.8699 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.378951973281801]