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.0009313/0.0009313, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002022, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006855/0.0006855, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008951/0.001581, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9548/0.9548, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08423/1.039, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.907/1.907, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4672/2.374, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.753e-06/1.753e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.074e-05, allocations: 10.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.0016/0.001621, allocations: 1.354 MB / 0.7306 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1211/0.1227, allocations: 133.2 MB / 0.8608 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.1228, allocations: 4 kB / 0.8608 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.1228, allocations: 7.922 kB / 0.8608 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.1228, allocations: 3.984 kB / 0.8608 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1239, allocations: 426.1 kB / 0.8612 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.124, allocations: 39.84 kB / 0.8612 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.1241, allocations: 0 / 0.8612 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.1241, allocations: 39.89 kB / 0.8612 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.1242, allocations: 15.98 kB / 0.8613 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1242, allocations: 3.938 kB / 0.8613 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1254, allocations: 0.8387 MB / 0.8621 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.1254, allocations: 7.938 kB / 0.8621 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.1254, allocations: 8 kB / 0.8621 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.126, allocations: 419.3 kB / 0.8625 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.526e-05/0.126, allocations: 4 kB / 0.8625 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.774e-06/0.126, allocations: 0 / 0.8625 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.126, allocations: 0 / 0.8625 GB, free: 11.87 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.0004936/0.1265, allocations: 296.4 kB / 0.8628 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1265, allocations: 8.625 kB / 0.8628 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.1268, allocations: 101.9 kB / 0.8629 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.1269, allocations: 117.7 kB / 0.863 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1269, allocations: 4.375 kB / 0.863 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1269, allocations: 8.328 kB / 0.863 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.127, allocations: 135.3 kB / 0.8631 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.127, allocations: 7.875 kB / 0.8632 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1271, allocations: 0 / 0.8632 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1271, allocations: 0 / 0.8632 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.1271, allocations: 15.98 kB / 0.8632 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1272, allocations: 65.05 kB / 0.8632 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.1273, allocations: 50.56 kB / 0.8633 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.1273, allocations: 12.86 kB / 0.8633 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00463/0.1319, allocations: 2.443 MB / 0.8657 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.132, allocations: 30.56 kB / 0.8657 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.132, allocations: 4 kB / 0.8657 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.01479/0.1468, allocations: 6.417 MB / 0.872 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1468, allocations: 51.41 kB / 0.872 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.1469, allocations: 98.72 kB / 0.8721 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1469, allocations: 25.7 kB / 0.8721 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.1469, allocations: 80.27 kB / 0.8722 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.147, allocations: 47.61 kB / 0.8723 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.1471, allocations: 37.7 kB / 0.8723 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.1471, allocations: 314.8 kB / 0.8726 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.1472, allocations: 11.94 kB / 0.8726 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.1472, allocations: 19.98 kB / 0.8726 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.469e-05/0.1473, allocations: 40.83 kB / 0.8727 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1473, allocations: 0 / 0.8727 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001298/0.1474, allocations: 74.06 kB / 0.8727 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1474, allocations: 7.984 kB / 0.8727 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1474, allocations: 3.938 kB / 0.8728 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1474, allocations: 4 kB / 0.8728 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.1475, allocations: 35.92 kB / 0.8728 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.696e-06/0.1475, allocations: 0 / 0.8728 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1476, allocations: 8 kB / 0.8728 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1476, allocations: 0 / 0.8728 GB, free: 1.008 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 7.326e-05/0.1476, allocations: 113.8 kB / 0.8729 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.1477, allocations: 11.92 kB / 0.8729 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.1479, allocations: 113.3 kB / 0.873 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1479, allocations: 0 / 0.873 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1479, allocations: 0 / 0.873 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1479, allocations: 0 / 0.873 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.148, allocations: 77.89 kB / 0.8731 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.148, allocations: 4 kB / 0.8731 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.1481, allocations: 31.98 kB / 0.8731 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1481, allocations: 7.984 kB / 0.8731 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1481, allocations: 0 / 0.8731 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1481, allocations: 0 / 0.8731 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1481, allocations: 7.938 kB / 0.8732 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1481, allocations: 4 kB / 0.8732 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1483, allocations: 128.8 kB / 0.8733 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1483, allocations: 0 / 0.8733 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1484, allocations: 12 kB / 0.8733 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.1484, allocations: 7.922 kB / 0.8733 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1484, allocations: 7.984 kB / 0.8733 GB, free: 444 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.35e-05/0.1484, allocations: 4.859 kB / 0.8733 GB, free: 436 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1484, allocations: 0 / 0.8733 GB, free: 436 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001683/0.1501, allocations: 0.5661 MB / 0.8739 GB, free: 15.86 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.002153/0.1523, allocations: 391.1 kB / 0.8742 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1524, allocations: 48.77 kB / 0.8743 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.1524, allocations: 0 / 0.8743 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.1525, allocations: 40.72 kB / 0.8743 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1526, allocations: 19.98 kB / 0.8743 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1537, allocations: 195.7 kB / 0.8745 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.1538, allocations: 63.16 kB / 0.8746 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.374e-05/0.1539, allocations: 32.62 kB / 0.8746 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.1539, allocations: 75.36 kB / 0.8747 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of SimCode: time 2.174e-06/0.1539, allocations: 3.938 kB / 0.8747 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.03522/0.1892, allocations: 25.9 MB / 0.9 GB, free: 5.043 MB / 0.8698 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.446186372078955]