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.001514/0.001514, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.001645/0.001645, allocations: 161.3 kB / 23.54 MB, free: 0.8594 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 1.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.829/2.829, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.976e-05, allocations: 10.75 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002944/0.002974, allocations: 1.281 MB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.1833, allocations: 120.9 MB / 0.9057 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.1833, allocations: 4 kB / 0.9057 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.1833, allocations: 0 / 0.9057 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.1834, allocations: 7.922 kB / 0.9057 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.185, allocations: 462.2 kB / 0.9061 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1851, allocations: 43.83 kB / 0.9062 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.1851, allocations: 4 kB / 0.9062 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.1852, allocations: 35.89 kB / 0.9062 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.1853, allocations: 11.98 kB / 0.9062 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1853, allocations: 4 kB / 0.9062 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.1872, allocations: 0.7996 MB / 0.907 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.1872, allocations: 7.969 kB / 0.907 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.1872, allocations: 19.92 kB / 0.907 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1883, allocations: 0.5574 MB / 0.9076 GB, free: 288 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1883, allocations: 0 / 0.9076 GB, free: 288 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1883, allocations: 0 / 0.9076 GB, free: 288 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1883, allocations: 0 / 0.9076 GB, free: 288 kB / 0.8542 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.0006091/0.1889, allocations: 298.1 kB / 0.9079 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.189, allocations: 8.031 kB / 0.9079 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.1892, allocations: 28.83 kB / 0.9079 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1893, allocations: 101.8 kB / 0.908 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1893, allocations: 4.375 kB / 0.908 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.1894, allocations: 16.3 kB / 0.908 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1896, allocations: 131.3 kB / 0.9081 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1896, allocations: 7.922 kB / 0.9081 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1896, allocations: 4 kB / 0.9081 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1896, allocations: 0 / 0.9081 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.1897, allocations: 15.98 kB / 0.9082 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1899, allocations: 109.3 kB / 0.9083 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.19, allocations: 50.56 kB / 0.9083 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.19, allocations: 20.84 kB / 0.9083 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.2019, allocations: 2.864 MB / 0.9111 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.202, allocations: 30.56 kB / 0.9112 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.202, allocations: 0 / 0.9112 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.04674/0.2487, allocations: 14.93 MB / 0.9257 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.2488, allocations: 55.41 kB / 0.9258 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2489, allocations: 97.84 kB / 0.9259 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.2489, allocations: 25.7 kB / 0.9259 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.249, allocations: 88.08 kB / 0.926 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.249, allocations: 43.59 kB / 0.926 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.2491, allocations: 33.7 kB / 0.9261 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.2493, allocations: 318.8 kB / 0.9264 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.2494, allocations: 28.11 kB / 0.9264 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.2494, allocations: 23.98 kB / 0.9264 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.2496, allocations: 63.72 kB / 0.9265 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2496, allocations: 0 / 0.9265 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.2499, allocations: 117.5 kB / 0.9266 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.2499, allocations: 4 kB / 0.9266 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2499, allocations: 4 kB / 0.9266 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2499, allocations: 0 / 0.9266 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2501, allocations: 27.98 kB / 0.9266 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2501, allocations: 0 / 0.9266 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.2501, allocations: 0 / 0.9266 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2501, allocations: 12 kB / 0.9266 GB, free: 12.43 MB / 0.8855 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 0.0001298/0.2502, allocations: 117.8 kB / 0.9268 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.2503, allocations: 15.83 kB / 0.9268 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.2507, allocations: 125.5 kB / 0.9269 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2507, allocations: 0 / 0.9269 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2507, allocations: 4 kB / 0.9269 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2507, allocations: 4 kB / 0.9269 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.2508, allocations: 113.3 kB / 0.927 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2508, allocations: 0 / 0.927 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.251, allocations: 27.98 kB / 0.927 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.251, allocations: 0 / 0.927 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.251, allocations: 7.938 kB / 0.927 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.251, allocations: 3.984 kB / 0.927 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.251, allocations: 3.938 kB / 0.9271 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.2514, allocations: 161 kB / 0.9272 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.2514, allocations: 8.031 kB / 0.9272 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2515, allocations: 7.938 kB / 0.9272 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2516, allocations: 19.98 kB / 0.9272 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.2516, allocations: 7.984 kB / 0.9272 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2517, allocations: 4 kB / 0.9272 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.2517, allocations: 83.27 kB / 0.9273 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.2517, allocations: 0 / 0.9273 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002168/0.2539, allocations: 0.5699 MB / 0.9279 GB, free: 11.09 MB / 0.8855 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.004126/0.258, allocations: 398.8 kB / 0.9283 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.2582, allocations: 63.91 kB / 0.9283 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2582, allocations: 4 kB / 0.9283 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.2583, allocations: 35.92 kB / 0.9284 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.2586, allocations: 20.05 kB / 0.9284 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.2592, allocations: 267.6 kB / 0.9286 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.2593, allocations: 75.27 kB / 0.9287 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.2594, allocations: 28.59 kB / 0.9287 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.2594, allocations: 16.5 kB / 0.9288 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of SimCode: time 7.31e-07/0.2595, allocations: 0 / 0.9288 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of Templates: time 0.04831/0.3078, allocations: 24.82 MB / 0.953 GB, free: 1.336 MB / 0.9011 GB " [Timeout remaining time 300] 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: 11.885634491918609]