Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001413/0.001413, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001547/0.001547, allocations: 170.2 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.763/2.763, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.193e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002333/0.002365, allocations: 1.273 MB / 0.9522 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1589/0.1612, allocations: 120.9 MB / 1.07 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.1613, allocations: 0 / 1.07 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.1613, allocations: 7.922 kB / 1.07 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.1614, allocations: 7.938 kB / 1.07 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.1628, allocations: 454.2 kB / 1.071 GB, free: 480 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1629, allocations: 51.7 kB / 1.071 GB, free: 432 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.163, allocations: 4 kB / 1.071 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.1631, allocations: 27.91 kB / 1.071 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.1631, allocations: 19.91 kB / 1.071 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1632, allocations: 4 kB / 1.071 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.1648, allocations: 0.8035 MB / 1.072 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.1648, allocations: 4 kB / 1.072 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.1649, allocations: 27.86 kB / 1.072 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.1658, allocations: 0.5575 MB / 1.072 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1658, allocations: 0 / 1.072 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1658, allocations: 0 / 1.072 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.1658, allocations: 0 / 1.072 GB, free: 14.97 MB / 0.9825 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.0005777/0.1663, allocations: 304.4 kB / 1.072 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1664, allocations: 11.97 kB / 1.072 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.1666, allocations: 12.92 kB / 1.072 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1667, allocations: 105.8 kB / 1.073 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1667, allocations: 4.375 kB / 1.073 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.1667, allocations: 8.375 kB / 1.073 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.167, allocations: 131.3 kB / 1.073 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.167, allocations: 3.938 kB / 1.073 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.167, allocations: 0 / 1.073 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.167, allocations: 4 kB / 1.073 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.969e-05/0.1671, allocations: 19.92 kB / 1.073 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.1672, allocations: 117.3 kB / 1.073 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1674, allocations: 46.56 kB / 1.073 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.1674, allocations: 9.094 kB / 1.073 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.1796, allocations: 2.872 MB / 1.076 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.1797, allocations: 34.56 kB / 1.076 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1797, allocations: 4 kB / 1.076 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.04654/0.2262, allocations: 14.94 MB / 1.09 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.2263, allocations: 51.41 kB / 1.09 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.2264, allocations: 97.84 kB / 1.09 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.2264, allocations: 33.83 kB / 1.091 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.2264, allocations: 80.14 kB / 1.091 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.2265, allocations: 39.64 kB / 1.091 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.2265, allocations: 33.72 kB / 1.091 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2267, allocations: 314.8 kB / 1.091 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.2267, allocations: 20 kB / 1.091 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.2268, allocations: 24.73 kB / 1.091 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.2269, allocations: 64.22 kB / 1.091 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2269, allocations: 0 / 1.091 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002412/0.2272, allocations: 109.6 kB / 1.091 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2272, allocations: 7.938 kB / 1.091 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2272, allocations: 4 kB / 1.091 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.2272, allocations: 0 / 1.091 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.2273, allocations: 27.98 kB / 1.091 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.2273, allocations: 4 kB / 1.091 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.2274, allocations: 0 / 1.091 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2274, allocations: 8 kB / 1.091 GB, free: 11.14 MB / 0.9981 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 0.0001094/0.2275, allocations: 121.7 kB / 1.091 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.2276, allocations: 15.88 kB / 1.091 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.2278, allocations: 121.6 kB / 1.091 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2278, allocations: 0 / 1.091 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2278, allocations: 0 / 1.091 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2279, allocations: 4 kB / 1.091 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.228, allocations: 117.3 kB / 1.092 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.228, allocations: 0 / 1.092 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2281, allocations: 20 kB / 1.092 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2281, allocations: 7.922 kB / 1.092 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2281, allocations: 11.94 kB / 1.092 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2281, allocations: 4 kB / 1.092 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.2282, allocations: 4 kB / 1.092 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.2285, allocations: 145 kB / 1.092 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.2285, allocations: 15.97 kB / 1.092 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2285, allocations: 7.938 kB / 1.092 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2287, allocations: 12 kB / 1.092 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.2287, allocations: 11.92 kB / 1.092 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2287, allocations: 7.984 kB / 1.092 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.2288, allocations: 79.28 kB / 1.092 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.2288, allocations: 0 / 1.092 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001772/0.2306, allocations: 0.566 MB / 1.092 GB, free: 9.82 MB / 0.9981 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.003149/0.2337, allocations: 394.7 kB / 1.093 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.2339, allocations: 63.97 kB / 1.093 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2339, allocations: 0 / 1.093 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.837e-05/0.234, allocations: 31.92 kB / 1.093 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2341, allocations: 8 kB / 1.093 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.2347, allocations: 276.5 kB / 1.093 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.041e-05/0.2348, allocations: 75.19 kB / 1.093 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.481e-05/0.2349, allocations: 24.61 kB / 1.093 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.2349, allocations: 12.5 kB / 1.093 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.2349, allocations: 0 / 1.093 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of Templates: time 0.5689/0.8038, allocations: 24.31 MB / 1.117 GB, free: 150.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.458477724343538]