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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 2.82 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002044/0.002044, allocations: 71.89 kB / 1.107 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.19, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00245/1.192, allocations: 1.281 MB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2078/1.4, allocations: 138.1 MB / 1.408 GB, free: 1.516 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/1.4, allocations: 0 / 1.408 GB, free: 1.516 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/1.4, allocations: 0 / 1.408 GB, free: 1.516 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/1.4, allocations: 13.47 kB / 1.408 GB, free: 1.504 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/1.402, allocations: 470.3 kB / 1.409 GB, free: 1.172 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/1.402, allocations: 44.8 kB / 1.409 GB, free: 1.148 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 6.768e-05/1.402, allocations: 1.312 kB / 1.409 GB, free: 1.148 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/1.403, allocations: 15.58 kB / 1.409 GB, free: 1.145 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/1.403, allocations: 22.88 kB / 1.409 GB, free: 1.129 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/1.403, allocations: 6.469 kB / 1.409 GB, free: 1.125 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/1.405, allocations: 0.8313 MB / 1.409 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/1.405, allocations: 9.953 kB / 1.409 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/1.405, allocations: 19.86 kB / 1.409 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009297/1.406, allocations: 440.1 kB / 1.41 GB, free: 408 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.406, allocations: 5.344 kB / 1.41 GB, free: 404 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.325e-06/1.406, allocations: 0 / 1.41 GB, free: 404 kB / 1.092 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.406, allocations: 0 / 1.41 GB, free: 404 kB / 1.092 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.0007918/1.407, allocations: 373.4 kB / 1.41 GB, free: 12 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/1.407, allocations: 8.688 kB / 1.41 GB, free: 12 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/1.407, allocations: 13.05 kB / 1.41 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/1.407, allocations: 165.5 kB / 1.41 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.407, allocations: 6.406 kB / 1.41 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/1.407, allocations: 11.31 kB / 1.41 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/1.407, allocations: 59.09 kB / 1.41 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.407, allocations: 0 / 1.41 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.407, allocations: 5.031 kB / 1.41 GB, free: 15.74 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.407, allocations: 1 kB / 1.41 GB, free: 15.74 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/1.408, allocations: 21.48 kB / 1.41 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/1.408, allocations: 170 kB / 1.411 GB, free: 15.52 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/1.408, allocations: 41.94 kB / 1.411 GB, free: 15.49 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/1.408, allocations: 22.83 kB / 1.411 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/1.419, allocations: 3.207 MB / 1.414 GB, free: 13.89 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.419, allocations: 32.91 kB / 1.414 GB, free: 13.85 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.419, allocations: 0 / 1.414 GB, free: 13.85 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04208/1.462, allocations: 15.01 MB / 1.429 GB, free: 3.965 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.462, allocations: 51.41 kB / 1.429 GB, free: 3.902 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/1.462, allocations: 97.86 kB / 1.429 GB, free: 3.797 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.462, allocations: 25.7 kB / 1.429 GB, free: 3.766 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/1.462, allocations: 80.14 kB / 1.429 GB, free: 3.684 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/1.462, allocations: 43.64 kB / 1.429 GB, free: 3.641 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/1.462, allocations: 33.84 kB / 1.429 GB, free: 3.602 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.462, allocations: 322.8 kB / 1.429 GB, free: 3.277 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/1.462, allocations: 23.98 kB / 1.429 GB, free: 3.254 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/1.462, allocations: 20 kB / 1.429 GB, free: 3.234 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/1.462, allocations: 62.08 kB / 1.429 GB, free: 3.172 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.462, allocations: 4 kB / 1.429 GB, free: 3.168 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002303/1.462, allocations: 113.6 kB / 1.429 GB, free: 3.051 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.462, allocations: 4 kB / 1.429 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.462, allocations: 3.938 kB / 1.429 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.462, allocations: 4 kB / 1.429 GB, free: 3.039 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.463, allocations: 20 kB / 1.429 GB, free: 3.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.463, allocations: 11.97 kB / 1.429 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/1.463, allocations: 4 kB / 1.429 GB, free: 3.004 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/1.463, allocations: 4 kB / 1.429 GB, free: 3 MB / 1.107 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 9.257e-05/1.463, allocations: 117.7 kB / 1.43 GB, free: 2.875 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/1.463, allocations: 4 kB / 1.43 GB, free: 2.871 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/1.463, allocations: 129.4 kB / 1.43 GB, free: 2.734 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/1.463, allocations: 0 / 1.43 GB, free: 2.734 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.463, allocations: 0 / 1.43 GB, free: 2.734 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/1.463, allocations: 0 / 1.43 GB, free: 2.734 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/1.463, allocations: 177.6 kB / 1.43 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.463, allocations: 0 / 1.43 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.463, allocations: 23.98 kB / 1.43 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.463, allocations: 4 kB / 1.43 GB, free: 2.484 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.463, allocations: 8 kB / 1.43 GB, free: 2.477 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.463, allocations: 3.938 kB / 1.43 GB, free: 2.473 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.463, allocations: 0 / 1.43 GB, free: 2.473 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/1.464, allocations: 156.9 kB / 1.43 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/1.464, allocations: 89.09 kB / 1.43 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/1.464, allocations: 8 kB / 1.43 GB, free: 2.188 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/1.464, allocations: 19.98 kB / 1.43 GB, free: 2.168 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/1.464, allocations: 7.984 kB / 1.43 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.464, allocations: 12.03 kB / 1.43 GB, free: 2.148 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.436e-05/1.464, allocations: 75.28 kB / 1.43 GB, free: 2.074 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.464, allocations: 0 / 1.43 GB, free: 2.074 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002139/1.466, allocations: 0.5583 MB / 1.431 GB, free: 1.516 MB / 1.107 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.002843/1.469, allocations: 362.2 kB / 1.431 GB, free: 1.156 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000224/1.469, allocations: 63.92 kB / 1.431 GB, free: 1.094 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.469, allocations: 4 kB / 1.431 GB, free: 1.09 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/1.469, allocations: 35.92 kB / 1.431 GB, free: 1.055 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/1.469, allocations: 13.97 kB / 1.431 GB, free: 1.043 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/1.47, allocations: 342.2 kB / 1.432 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.47, allocations: 0.6851 MB / 1.432 GB, free: 15.97 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 8.648e-05/1.471, allocations: 28.52 kB / 1.432 GB, free: 15.95 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/1.471, allocations: 15.44 kB / 1.432 GB, free: 15.93 MB / 1.123 GB Notification: Performance of SimCode: time 8.51e-07/1.471, allocations: 0 / 1.432 GB, free: 15.93 MB / 1.123 GB Notification: Performance of Templates: time 0.04042/1.511, allocations: 24.3 MB / 1.456 GB, free: 7.602 MB / 1.139 GB " [Timeout remaining time 298] 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: 13.325210956856608]