Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009037, allocations: 87.98 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 185.7 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004338, allocations: 12 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6852, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001442/0.6867, allocations: 0.9878 MB / 1.025 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1447/0.8313, allocations: 134.2 MB / 1.156 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.8314, allocations: 0 / 1.156 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.8314, allocations: 0 / 1.156 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.8315, allocations: 4 kB / 1.156 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.8327, allocations: 370.8 kB / 1.156 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.8327, allocations: 39.84 kB / 1.156 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.8328, allocations: 7.984 kB / 1.156 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.8328, allocations: 15.94 kB / 1.156 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.8329, allocations: 27.89 kB / 1.156 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.833, allocations: 8 kB / 1.156 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.8343, allocations: 0.8114 MB / 1.157 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.8344, allocations: 11.98 kB / 1.157 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.8344, allocations: 45.62 kB / 1.157 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.8348, allocations: 293.4 kB / 1.157 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8348, allocations: 4 kB / 1.157 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8348, allocations: 0 / 1.157 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.8349, allocations: 0 / 1.157 GB, free: 6.566 MB / 0.9044 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.0004769/0.8353, allocations: 351.5 kB / 1.158 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.8354, allocations: 8.031 kB / 1.158 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.8356, allocations: 16.92 kB / 1.158 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.8357, allocations: 172.3 kB / 1.158 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8357, allocations: 384 / 1.158 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.8357, allocations: 16.03 kB / 1.158 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.8359, allocations: 49.67 kB / 1.158 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.8359, allocations: 0 / 1.158 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.8359, allocations: 0 / 1.158 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.8359, allocations: 4 kB / 1.158 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.836, allocations: 15.98 kB / 1.158 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.8362, allocations: 169.6 kB / 1.158 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.8363, allocations: 70.36 kB / 1.158 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.8364, allocations: 16.8 kB / 1.158 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.8473, allocations: 3.205 MB / 1.161 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.8474, allocations: 42.55 kB / 1.161 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.8474, allocations: 0 / 1.161 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.03882/0.8862, allocations: 14.24 MB / 1.175 GB, free: 3.801 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.8863, allocations: 51.41 kB / 1.175 GB, free: 3.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.8864, allocations: 105.8 kB / 1.175 GB, free: 3.625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8864, allocations: 29.7 kB / 1.175 GB, free: 3.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.8864, allocations: 80.14 kB / 1.175 GB, free: 3.508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.8865, allocations: 39.39 kB / 1.176 GB, free: 3.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.8865, allocations: 17.72 kB / 1.176 GB, free: 3.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.8866, allocations: 322.8 kB / 1.176 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.8867, allocations: 23.98 kB / 1.176 GB, free: 3.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.8867, allocations: 19.98 kB / 1.176 GB, free: 3.078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.8868, allocations: 68.48 kB / 1.176 GB, free: 3.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.8869, allocations: 0 / 1.176 GB, free: 3.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002107/0.8871, allocations: 105.6 kB / 1.176 GB, free: 2.902 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.8871, allocations: 6.031 kB / 1.176 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8871, allocations: 0 / 1.176 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.8871, allocations: 7.938 kB / 1.176 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.8872, allocations: 31.98 kB / 1.176 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.8873, allocations: 0 / 1.176 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.8873, allocations: 0 / 1.176 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8873, allocations: 4.234 kB / 1.176 GB, free: 2.855 MB / 0.92 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 8.158e-05/0.8874, allocations: 126.3 kB / 1.176 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.8874, allocations: 0 / 1.176 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.8877, allocations: 133.4 kB / 1.176 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.8877, allocations: 0 / 1.176 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8877, allocations: 8 kB / 1.176 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8877, allocations: 0 / 1.176 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.8879, allocations: 181.6 kB / 1.177 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8879, allocations: 0 / 1.177 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.888, allocations: 27.98 kB / 1.177 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.888, allocations: 0 / 1.177 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.888, allocations: 0 / 1.177 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.888, allocations: 0 / 1.177 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.888, allocations: 4 kB / 1.177 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.8883, allocations: 160.8 kB / 1.177 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.8884, allocations: 89.05 kB / 1.177 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.8884, allocations: 8 kB / 1.177 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.8886, allocations: 11.98 kB / 1.177 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.8886, allocations: 4 kB / 1.177 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.8886, allocations: 11.98 kB / 1.177 GB, free: 2.008 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.8886, allocations: 79.28 kB / 1.177 GB, free: 1.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8887, allocations: 0 / 1.177 GB, free: 1.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001603/0.8903, allocations: 0.5624 MB / 1.177 GB, free: 1.367 MB / 0.92 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.002774/0.893, allocations: 355.2 kB / 1.178 GB, free: 1.008 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.8932, allocations: 67.86 kB / 1.178 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8932, allocations: 0 / 1.178 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.8933, allocations: 35.92 kB / 1.178 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.8935, allocations: 19.91 kB / 1.178 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.8941, allocations: 436 kB / 1.178 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.8944, allocations: 0.6887 MB / 1.179 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.8944, allocations: 19.44 kB / 1.179 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8944, allocations: 0 / 1.179 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.02168/0.9161, allocations: 14.32 MB / 1.193 GB, free: 1.387 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches