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.001394/0.001394, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001605/0.001605, allocations: 223.6 kB / 23.01 MB, free: 4.609 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.8 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 66.55 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3038, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002446/0.3062, allocations: 1.296 MB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.4722, allocations: 141 MB / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.4722, allocations: 0 / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.4722, allocations: 0 / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.4723, allocations: 3.938 kB / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.4736, allocations: 470.3 kB / 1.424 GB, free: 11.98 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.4737, allocations: 47.83 kB / 1.424 GB, free: 11.93 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.4738, allocations: 4 kB / 1.424 GB, free: 11.93 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.4738, allocations: 19.98 kB / 1.424 GB, free: 11.91 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.4739, allocations: 23.91 kB / 1.424 GB, free: 11.88 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.4739, allocations: 0 / 1.424 GB, free: 11.88 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.4754, allocations: 0.8387 MB / 1.425 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.4754, allocations: 7.984 kB / 1.425 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.4755, allocations: 19.92 kB / 1.425 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.4761, allocations: 447 kB / 1.425 GB, free: 10.58 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4761, allocations: 7.938 kB / 1.425 GB, free: 10.57 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4761, allocations: 0 / 1.425 GB, free: 10.57 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4761, allocations: 3.938 kB / 1.425 GB, free: 10.57 MB / 1.123 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.0005023/0.4766, allocations: 298.1 kB / 1.426 GB, free: 10.25 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4766, allocations: 8.031 kB / 1.426 GB, free: 10.24 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.4768, allocations: 16.88 kB / 1.426 GB, free: 10.22 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.4769, allocations: 102.5 kB / 1.426 GB, free: 10.1 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.4769, allocations: 8.375 kB / 1.426 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.4769, allocations: 12.12 kB / 1.426 GB, free: 10.08 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4771, allocations: 49.67 kB / 1.426 GB, free: 10.02 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.4771, allocations: 0 / 1.426 GB, free: 10.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.4771, allocations: 4 kB / 1.426 GB, free: 10.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4771, allocations: 7.984 kB / 1.426 GB, free: 10.01 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.4772, allocations: 19.92 kB / 1.426 GB, free: 9.992 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.4774, allocations: 148.6 kB / 1.426 GB, free: 9.805 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4775, allocations: 46.56 kB / 1.426 GB, free: 9.75 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.4775, allocations: 20.8 kB / 1.426 GB, free: 9.727 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.4887, allocations: 2.856 MB / 1.429 GB, free: 6.867 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.4887, allocations: 34.56 kB / 1.429 GB, free: 6.824 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.4887, allocations: 0 / 1.429 GB, free: 6.824 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.04223/0.531, allocations: 14.93 MB / 1.443 GB, free: 7.762 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.531, allocations: 55.41 kB / 1.443 GB, free: 7.695 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.5311, allocations: 97.86 kB / 1.444 GB, free: 7.59 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5311, allocations: 25.7 kB / 1.444 GB, free: 7.559 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.5312, allocations: 88.08 kB / 1.444 GB, free: 7.469 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.5312, allocations: 43.67 kB / 1.444 GB, free: 7.426 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.5313, allocations: 25.72 kB / 1.444 GB, free: 7.395 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5314, allocations: 326.8 kB / 1.444 GB, free: 7.066 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.5315, allocations: 19.98 kB / 1.444 GB, free: 7.047 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.5315, allocations: 24.12 kB / 1.444 GB, free: 7.023 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.5317, allocations: 64.34 kB / 1.444 GB, free: 6.961 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5317, allocations: 0 / 1.444 GB, free: 6.961 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002291/0.5319, allocations: 113.6 kB / 1.444 GB, free: 6.844 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5319, allocations: 4 kB / 1.444 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5319, allocations: 4 kB / 1.444 GB, free: 6.836 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5319, allocations: 0 / 1.444 GB, free: 6.836 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.532, allocations: 20 kB / 1.444 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.532, allocations: 3.984 kB / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.5321, allocations: 8 kB / 1.444 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5321, allocations: 11.94 kB / 1.444 GB, free: 6.793 MB / 1.139 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.989e-05/0.5322, allocations: 121.7 kB / 1.444 GB, free: 6.664 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.5322, allocations: 3.953 kB / 1.444 GB, free: 6.66 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.5325, allocations: 125.4 kB / 1.445 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5325, allocations: 4 kB / 1.445 GB, free: 6.527 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5325, allocations: 4 kB / 1.445 GB, free: 6.523 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5325, allocations: 0 / 1.445 GB, free: 6.523 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.5327, allocations: 148.7 kB / 1.445 GB, free: 6.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5327, allocations: 0 / 1.445 GB, free: 6.336 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5328, allocations: 23.98 kB / 1.445 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5328, allocations: 0 / 1.445 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5328, allocations: 7.938 kB / 1.445 GB, free: 6.305 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5328, allocations: 4 kB / 1.445 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5328, allocations: 0 / 1.445 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.5331, allocations: 160.9 kB / 1.445 GB, free: 6.125 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.5331, allocations: 8.031 kB / 1.445 GB, free: 6.117 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.5332, allocations: 0 / 1.445 GB, free: 6.117 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.5333, allocations: 15.98 kB / 1.445 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.5333, allocations: 7.984 kB / 1.445 GB, free: 6.094 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5333, allocations: 8 kB / 1.445 GB, free: 6.086 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.5334, allocations: 79.28 kB / 1.445 GB, free: 6.008 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5334, allocations: 0 / 1.445 GB, free: 6.008 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001788/0.5352, allocations: 0.5699 MB / 1.446 GB, free: 5.438 MB / 1.139 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.003001/0.5382, allocations: 362.8 kB / 1.446 GB, free: 5.074 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.5384, allocations: 59.91 kB / 1.446 GB, free: 5.016 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5384, allocations: 4 kB / 1.446 GB, free: 5.012 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.5384, allocations: 31.92 kB / 1.446 GB, free: 4.98 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.5386, allocations: 13.77 kB / 1.446 GB, free: 4.969 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.5393, allocations: 380.2 kB / 1.446 GB, free: 4.566 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5396, allocations: 0.6846 MB / 1.447 GB, free: 3.855 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.5396, allocations: 23.42 kB / 1.447 GB, free: 3.832 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/0.5396, allocations: 0 / 1.447 GB, free: 3.832 MB / 1.139 GB Notification: Performance of Templates: time 0.02337/0.563, allocations: 14.4 MB / 1.461 GB, free: 5.445 MB / 1.154 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/jenkins1/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.070866952009965]