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.002269/0.002269, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002715/0.002715, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.45/3.45, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.754e-06/1.754e-06, allocations: 0 / 0.8774 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.972e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002599/0.002628, allocations: 1.298 MB / 0.8787 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.193/0.1956, allocations: 133.1 MB / 1.009 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.1957, allocations: 0 / 1.009 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1957, allocations: 0 / 1.009 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.1957, allocations: 3.938 kB / 1.009 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.1971, allocations: 466.2 kB / 1.009 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.238e-05/0.1972, allocations: 47.83 kB / 1.009 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.1972, allocations: 4 kB / 1.009 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.1973, allocations: 27.91 kB / 1.009 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.1974, allocations: 19.97 kB / 1.009 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1974, allocations: 0 / 1.009 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.199, allocations: 0.7996 MB / 1.01 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.199, allocations: 7.984 kB / 1.01 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1991, allocations: 15.98 kB / 1.01 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0009382/0.2, allocations: 0.5612 MB / 1.011 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2, allocations: 4 kB / 1.011 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2, allocations: 0 / 1.011 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2, allocations: 0 / 1.011 GB, free: 13.91 MB / 0.9792 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.0007294/0.2007, allocations: 396 kB / 1.011 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.2008, allocations: 16.03 kB / 1.011 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.201, allocations: 24.86 kB / 1.011 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2011, allocations: 104.6 kB / 1.011 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2011, allocations: 384 / 1.011 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.2012, allocations: 20.31 kB / 1.011 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.2014, allocations: 131.3 kB / 1.011 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2014, allocations: 3.938 kB / 1.011 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2014, allocations: 7.938 kB / 1.011 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2014, allocations: 0 / 1.011 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.2015, allocations: 15.98 kB / 1.011 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.2017, allocations: 136.5 kB / 1.011 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.2018, allocations: 55.05 kB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.2019, allocations: 19.67 kB / 1.011 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.2142, allocations: 2.879 MB / 1.014 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.2142, allocations: 33.39 kB / 1.014 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.2142, allocations: 0 / 1.014 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.04053/0.2548, allocations: 8.191 MB / 1.022 GB, free: 1.609 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2548, allocations: 59.33 kB / 1.022 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.255, allocations: 153.9 kB / 1.022 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.255, allocations: 29.7 kB / 1.022 GB, free: 1.336 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.2551, allocations: 126.9 kB / 1.023 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.2551, allocations: 43.64 kB / 1.023 GB, free: 1.164 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.2552, allocations: 35.38 kB / 1.023 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002617/0.2554, allocations: 0.4963 MB / 1.023 GB, free: 0.6133 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.2555, allocations: 16 kB / 1.023 GB, free: 0.5977 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.2555, allocations: 23.98 kB / 1.023 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.2557, allocations: 63.67 kB / 1.023 GB, free: 0.5078 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2557, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002497/0.2559, allocations: 120.8 kB / 1.023 GB, free: 400 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.256, allocations: 8 kB / 1.023 GB, free: 392 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.256, allocations: 0 / 1.023 GB, free: 392 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.256, allocations: 3.984 kB / 1.023 GB, free: 388 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2561, allocations: 20 kB / 1.023 GB, free: 368 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2561, allocations: 0 / 1.023 GB, free: 368 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.2561, allocations: 8 kB / 1.023 GB, free: 360 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2561, allocations: 7.984 kB / 1.023 GB, free: 352 kB / 0.9792 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.0001281/0.2563, allocations: 160.6 kB / 1.024 GB, free: 180 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.2563, allocations: 19.81 kB / 1.024 GB, free: 160 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.2567, allocations: 129.5 kB / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2567, allocations: 0 / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2567, allocations: 4 kB / 1.024 GB, free: 16 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2567, allocations: 0 / 1.024 GB, free: 16 kB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2568, allocations: 132.6 kB / 1.024 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2568, allocations: 0 / 1.024 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.257, allocations: 23.98 kB / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.257, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.257, allocations: 11.94 kB / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.257, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.257, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.2573, allocations: 168.2 kB / 1.024 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.2574, allocations: 15.94 kB / 1.024 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2574, allocations: 11.94 kB / 1.024 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2575, allocations: 8 kB / 1.024 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.2576, allocations: 7.984 kB / 1.024 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2576, allocations: 8 kB / 1.024 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.2576, allocations: 123.2 kB / 1.024 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2576, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001864/0.2595, allocations: 0.5699 MB / 1.025 GB, free: 14.89 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.002948/0.2625, allocations: 390.8 kB / 1.025 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.2627, allocations: 71.59 kB / 1.025 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2627, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.2628, allocations: 47.61 kB / 1.025 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.263, allocations: 22.47 kB / 1.025 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.2636, allocations: 281.1 kB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.463e-05/0.2637, allocations: 71.2 kB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.168e-05/0.2638, allocations: 28.59 kB / 1.026 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.2638, allocations: 20.5 kB / 1.026 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.2638, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of Templates: time 0.04636/0.3102, allocations: 26.1 MB / 1.051 GB, free: 3.805 MB / 1.01 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] 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: 13.116516261012293]