Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008615/0.0008615, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008632/0.0008632, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8599/0.8599, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.749/1.749, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.844e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001351/0.001369, allocations: 1.274 MB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.4894/0.4908, allocations: 120.9 MB / 1.12 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.4908, allocations: 0 / 1.12 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.4909, allocations: 5.156 kB / 1.12 GB, free: 8.605 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.4909, allocations: 6.281 kB / 1.12 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009879/0.4919, allocations: 464.7 kB / 1.121 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.492, allocations: 42.45 kB / 1.121 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.492, allocations: 5.406 kB / 1.121 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.4921, allocations: 32.33 kB / 1.121 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.4921, allocations: 12.67 kB / 1.121 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.4921, allocations: 1.562 kB / 1.121 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.4932, allocations: 0.8029 MB / 1.122 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.4932, allocations: 12.58 kB / 1.122 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.4932, allocations: 13.2 kB / 1.122 GB, free: 8.227 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.4939, allocations: 0.5656 MB / 1.122 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4939, allocations: 0.8438 kB / 1.122 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4939, allocations: 0 / 1.122 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.4939, allocations: 0 / 1.122 GB, free: 8.066 MB / 0.9948 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.0003932/0.4943, allocations: 301.5 kB / 1.122 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4943, allocations: 11.89 kB / 1.122 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.4945, allocations: 13.88 kB / 1.122 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.938e-05/0.4945, allocations: 104.5 kB / 1.123 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4945, allocations: 1.5 kB / 1.123 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.4945, allocations: 9.062 kB / 1.123 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4947, allocations: 136.2 kB / 1.123 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.4947, allocations: 0 / 1.123 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4947, allocations: 5.25 kB / 1.123 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4947, allocations: 1.375 kB / 1.123 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.4947, allocations: 22.27 kB / 1.123 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.872e-05/0.4948, allocations: 106.1 kB / 1.123 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.4949, allocations: 50.25 kB / 1.123 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.4949, allocations: 17 kB / 1.123 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005791/0.5007, allocations: 2.868 MB / 1.126 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5007, allocations: 33.56 kB / 1.126 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.5007, allocations: 4 kB / 1.126 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02349/0.5242, allocations: 14.93 MB / 1.14 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.5243, allocations: 54.7 kB / 1.14 GB, free: 5.004 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.49e-05/0.5243, allocations: 95.56 kB / 1.14 GB, free: 4.902 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.5243, allocations: 28.19 kB / 1.14 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-06/0.5243, allocations: 84.14 kB / 1.141 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.5244, allocations: 43.88 kB / 1.141 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.5244, allocations: 31.17 kB / 1.141 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.87e-05/0.5244, allocations: 318.1 kB / 1.141 GB, free: 4.41 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/0.5244, allocations: 18.95 kB / 1.141 GB, free: 4.406 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.5245, allocations: 25.77 kB / 1.141 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.5246, allocations: 60.47 kB / 1.141 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5246, allocations: 0 / 1.141 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001367/0.5247, allocations: 112.4 kB / 1.141 GB, free: 4.309 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5247, allocations: 13.62 kB / 1.141 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5247, allocations: 5.25 kB / 1.141 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5247, allocations: 0 / 1.141 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.5248, allocations: 23.38 kB / 1.141 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5248, allocations: 4.5 kB / 1.141 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.5249, allocations: 5.062 kB / 1.141 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.5249, allocations: 4.703 kB / 1.141 GB, free: 4.289 MB / 0.9948 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 4.158e-05/0.5249, allocations: 117.9 kB / 1.141 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.5249, allocations: 6.969 kB / 1.141 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.5251, allocations: 128.9 kB / 1.141 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5251, allocations: 1.766 kB / 1.141 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5251, allocations: 0 / 1.141 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5251, allocations: 1.781 kB / 1.141 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.69e-05/0.5252, allocations: 122 kB / 1.142 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5252, allocations: 0 / 1.142 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.5253, allocations: 27.17 kB / 1.142 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5253, allocations: 1.375 kB / 1.142 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.5253, allocations: 9.734 kB / 1.142 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5253, allocations: 9.656 kB / 1.142 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5253, allocations: 0 / 1.142 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.5255, allocations: 146.4 kB / 1.142 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.5255, allocations: 16.11 kB / 1.142 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.5255, allocations: 9.375 kB / 1.142 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.5256, allocations: 10.78 kB / 1.142 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.5256, allocations: 7.609 kB / 1.142 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.5256, allocations: 9.078 kB / 1.142 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.257e-05/0.5257, allocations: 80.47 kB / 1.142 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5257, allocations: 0 / 1.142 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001584/0.5272, allocations: 0.5684 MB / 1.142 GB, free: 3.711 MB / 0.9948 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.00219/0.5294, allocations: 394.9 kB / 1.143 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.5296, allocations: 56.17 kB / 1.143 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5296, allocations: 1.062 kB / 1.143 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.5296, allocations: 34.56 kB / 1.143 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.5297, allocations: 10.81 kB / 1.143 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.5301, allocations: 300.4 kB / 1.143 GB, free: 3.285 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.5302, allocations: 69.89 kB / 1.143 GB, free: 3.215 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.5302, allocations: 21.14 kB / 1.143 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of SimCode: time 4.11e-07/0.5302, allocations: 1.531 kB / 1.143 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of Templates: time 0.01998/0.5502, allocations: 14.45 MB / 1.157 GB, free: 1.238 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.454399014823139]