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.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.002025/0.002025, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002535/0.002535, allocations: 192.8 kB / 22.11 MB, free: 4.223 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.587/1.587, allocations: 225.6 MB / 250.8 MB, free: 2.918 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.009/3.009, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002141/0.002141, allocations: 59.89 kB / 1.137 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 173.6 MB / 1.307 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002888/1.097, allocations: 1.266 MB / 1.308 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1872/1.284, allocations: 136.7 MB / 1.441 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/1.284, allocations: 0 / 1.441 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/1.284, allocations: 3.984 kB / 1.441 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/1.284, allocations: 3.938 kB / 1.441 GB, free: 11.56 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/1.286, allocations: 469.1 kB / 1.442 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.894e-05/1.286, allocations: 39.8 kB / 1.442 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/1.286, allocations: 11.97 kB / 1.442 GB, free: 11.05 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/1.286, allocations: 16 kB / 1.442 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/1.286, allocations: 19.91 kB / 1.442 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/1.286, allocations: 4 kB / 1.442 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/1.288, allocations: 0.8153 MB / 1.443 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/1.288, allocations: 11.97 kB / 1.443 GB, free: 10.19 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/1.288, allocations: 15.94 kB / 1.443 GB, free: 10.17 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007145/1.289, allocations: 438.8 kB / 1.443 GB, free: 9.746 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.289, allocations: 0 / 1.443 GB, free: 9.746 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.983e-06/1.289, allocations: 0 / 1.443 GB, free: 9.746 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.289, allocations: 0 / 1.443 GB, free: 9.746 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.000598/1.289, allocations: 298.1 kB / 1.443 GB, free: 9.426 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.289, allocations: 8.031 kB / 1.443 GB, free: 9.418 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/1.289, allocations: 16.91 kB / 1.443 GB, free: 9.402 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/1.29, allocations: 110.5 kB / 1.444 GB, free: 9.27 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.29, allocations: 4.375 kB / 1.444 GB, free: 9.266 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/1.29, allocations: 12.08 kB / 1.444 GB, free: 9.254 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/1.29, allocations: 53.67 kB / 1.444 GB, free: 9.195 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.29, allocations: 0 / 1.444 GB, free: 9.195 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.29, allocations: 8 kB / 1.444 GB, free: 9.188 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.29, allocations: 0 / 1.444 GB, free: 9.188 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/1.29, allocations: 23.91 kB / 1.444 GB, free: 9.164 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/1.29, allocations: 140.7 kB / 1.444 GB, free: 8.984 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/1.29, allocations: 46.5 kB / 1.444 GB, free: 8.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/1.29, allocations: 16.8 kB / 1.444 GB, free: 8.91 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/1.303, allocations: 2.868 MB / 1.447 GB, free: 6.039 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/1.303, allocations: 42.56 kB / 1.447 GB, free: 5.988 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/1.303, allocations: 0 / 1.447 GB, free: 5.988 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.04565/1.348, allocations: 14.92 MB / 1.461 GB, free: 6.934 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/1.348, allocations: 51.41 kB / 1.461 GB, free: 6.871 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/1.349, allocations: 93.84 kB / 1.461 GB, free: 6.77 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/1.349, allocations: 33.7 kB / 1.461 GB, free: 6.73 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/1.349, allocations: 84.08 kB / 1.462 GB, free: 6.645 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/1.349, allocations: 39.64 kB / 1.462 GB, free: 6.605 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/1.349, allocations: 37.66 kB / 1.462 GB, free: 6.562 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.349, allocations: 318.8 kB / 1.462 GB, free: 6.242 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/1.349, allocations: 28.11 kB / 1.462 GB, free: 6.215 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/1.349, allocations: 24 kB / 1.462 GB, free: 6.191 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/1.349, allocations: 63.34 kB / 1.462 GB, free: 6.129 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/1.349, allocations: 0 / 1.462 GB, free: 6.129 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002442/1.349, allocations: 97.64 kB / 1.462 GB, free: 6.027 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.349, allocations: 8 kB / 1.462 GB, free: 6.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.349, allocations: 0 / 1.462 GB, free: 6.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.349, allocations: 3.984 kB / 1.462 GB, free: 6.016 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.349, allocations: 27.94 kB / 1.462 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.349, allocations: 240 / 1.462 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/1.35, allocations: 4 kB / 1.462 GB, free: 5.984 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/1.35, allocations: 11.98 kB / 1.462 GB, free: 5.973 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.966e-05/1.35, allocations: 121.7 kB / 1.462 GB, free: 5.844 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/1.35, allocations: 4 kB / 1.462 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/1.35, allocations: 129.3 kB / 1.462 GB, free: 5.707 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.35, allocations: 4 kB / 1.462 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.35, allocations: 0 / 1.462 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.35, allocations: 0 / 1.462 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/1.35, allocations: 148.7 kB / 1.463 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.35, allocations: 0 / 1.463 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.35, allocations: 31.92 kB / 1.463 GB, free: 5.484 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.35, allocations: 0 / 1.463 GB, free: 5.484 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.35, allocations: 4 kB / 1.463 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.35, allocations: 3.984 kB / 1.463 GB, free: 5.477 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.35, allocations: 0 / 1.463 GB, free: 5.477 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/1.351, allocations: 168.8 kB / 1.463 GB, free: 5.293 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/1.351, allocations: 15.98 kB / 1.463 GB, free: 5.277 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/1.351, allocations: 4 kB / 1.463 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.351, allocations: 11.98 kB / 1.463 GB, free: 5.262 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/1.351, allocations: 11.98 kB / 1.463 GB, free: 5.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/1.351, allocations: 4 kB / 1.463 GB, free: 5.246 MB / 1.139 GB Notification: Performance of sorting global known variables: time 3.542e-05/1.351, allocations: 79.28 kB / 1.463 GB, free: 5.168 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.351, allocations: 0 / 1.463 GB, free: 5.168 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001927/1.353, allocations: 0.5661 MB / 1.463 GB, free: 4.602 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.00325/1.356, allocations: 350.8 kB / 1.464 GB, free: 4.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002319/1.356, allocations: 65.11 kB / 1.464 GB, free: 4.188 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.356, allocations: 0 / 1.464 GB, free: 4.188 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.837e-05/1.356, allocations: 31.92 kB / 1.464 GB, free: 4.156 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/1.357, allocations: 11.94 kB / 1.464 GB, free: 4.145 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/1.357, allocations: 346.6 kB / 1.464 GB, free: 3.777 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/1.358, allocations: 0.6851 MB / 1.465 GB, free: 3.066 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.584e-05/1.358, allocations: 28.53 kB / 1.465 GB, free: 3.039 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/1.358, allocations: 11.44 kB / 1.465 GB, free: 3.027 MB / 1.139 GB Notification: Performance of SimCode: time 6.41e-07/1.358, allocations: 0 / 1.465 GB, free: 3.027 MB / 1.139 GB Notification: Performance of Templates: time 0.04034/1.398, allocations: 24.33 MB / 1.489 GB, free: 10.68 MB / 1.17 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.94859798438847]