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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001502/0.001502, allocations: 104.2 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.11 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8316, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00297/0.8346, allocations: 1.27 MB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.9949, allocations: 137.7 MB / 1.344 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.995, allocations: 4 kB / 1.344 GB, free: 2.094 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.9951, allocations: 3.938 kB / 1.344 GB, free: 2.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.9951, allocations: 3.938 kB / 1.344 GB, free: 2.086 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.9965, allocations: 462.3 kB / 1.345 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.9966, allocations: 43.84 kB / 1.345 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.9967, allocations: 4 kB / 1.345 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.9967, allocations: 19.97 kB / 1.345 GB, free: 1.566 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.9968, allocations: 19.92 kB / 1.345 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.9968, allocations: 4 kB / 1.345 GB, free: 1.543 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.9984, allocations: 0.827 MB / 1.345 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.9984, allocations: 11.97 kB / 1.345 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.9985, allocations: 15.94 kB / 1.345 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.9991, allocations: 443 kB / 1.346 GB, free: 264 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9992, allocations: 3.984 kB / 1.346 GB, free: 260 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9992, allocations: 0 / 1.346 GB, free: 260 kB / 1.061 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.9992, allocations: 0 / 1.346 GB, free: 260 kB / 1.061 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.0005698/0.9998, allocations: 369.3 kB / 1.346 GB, free: 15.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.9998, allocations: 12.03 kB / 1.346 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/1, allocations: 16.78 kB / 1.346 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/1, allocations: 164.4 kB / 1.346 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1, allocations: 8.375 kB / 1.346 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/1, allocations: 12.11 kB / 1.346 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/1, allocations: 53.62 kB / 1.346 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/1, allocations: 0 / 1.346 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1, allocations: 3.984 kB / 1.346 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1, allocations: 0 / 1.346 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/1, allocations: 23.92 kB / 1.346 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/1.001, allocations: 165.7 kB / 1.347 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.001, allocations: 46.56 kB / 1.347 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/1.001, allocations: 28.77 kB / 1.347 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/1.013, allocations: 3.194 MB / 1.35 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/1.013, allocations: 38.5 kB / 1.35 GB, free: 11.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 3.537e-06/1.013, allocations: 0 / 1.35 GB, free: 11.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0462/1.059, allocations: 15 MB / 1.365 GB, free: 12.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/1.059, allocations: 51.41 kB / 1.365 GB, free: 12.67 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/1.059, allocations: 93.95 kB / 1.365 GB, free: 12.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/1.059, allocations: 33.73 kB / 1.365 GB, free: 12.53 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/1.059, allocations: 84.12 kB / 1.365 GB, free: 12.44 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/1.059, allocations: 43.3 kB / 1.365 GB, free: 12.4 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/1.06, allocations: 37.7 kB / 1.365 GB, free: 12.36 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.06, allocations: 318.8 kB / 1.365 GB, free: 12.04 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/1.06, allocations: 23.98 kB / 1.365 GB, free: 12.01 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/1.06, allocations: 27.98 kB / 1.365 GB, free: 11.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/1.06, allocations: 64.05 kB / 1.365 GB, free: 11.92 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/1.06, allocations: 4 kB / 1.365 GB, free: 11.92 MB / 1.092 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002266/1.06, allocations: 97.67 kB / 1.365 GB, free: 11.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.06, allocations: 9.719 kB / 1.365 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.06, allocations: 0 / 1.365 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.06, allocations: 0 / 1.365 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.06, allocations: 27.98 kB / 1.365 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.06, allocations: 0 / 1.365 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/1.06, allocations: 0 / 1.365 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.06, allocations: 4 kB / 1.365 GB, free: 11.78 MB / 1.092 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.0001023/1.061, allocations: 129.7 kB / 1.366 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/1.061, allocations: 11.84 kB / 1.366 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/1.061, allocations: 121.5 kB / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.061, allocations: 0 / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.061, allocations: 0 / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.061, allocations: 3.984 kB / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/1.061, allocations: 177.6 kB / 1.366 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.061, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/1.061, allocations: 27.94 kB / 1.366 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.061, allocations: 3.984 kB / 1.366 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.061, allocations: 4 kB / 1.366 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.061, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.061, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/1.062, allocations: 164.9 kB / 1.366 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/1.062, allocations: 85.09 kB / 1.366 GB, free: 10.96 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/1.062, allocations: 8 kB / 1.366 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.062, allocations: 8 kB / 1.366 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/1.062, allocations: 11.92 kB / 1.366 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.062, allocations: 8 kB / 1.366 GB, free: 10.92 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.894e-05/1.062, allocations: 79.27 kB / 1.366 GB, free: 10.84 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.062, allocations: 4 kB / 1.366 GB, free: 10.84 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00191/1.064, allocations: 0.5625 MB / 1.367 GB, free: 10.28 MB / 1.092 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.003797/1.068, allocations: 351.1 kB / 1.367 GB, free: 9.926 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002316/1.068, allocations: 71.84 kB / 1.367 GB, free: 9.855 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.068, allocations: 0 / 1.367 GB, free: 9.855 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/1.068, allocations: 35.98 kB / 1.367 GB, free: 9.82 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/1.068, allocations: 11.88 kB / 1.367 GB, free: 9.809 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/1.069, allocations: 363.7 kB / 1.368 GB, free: 9.422 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/1.069, allocations: 0.6846 MB / 1.368 GB, free: 8.711 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/1.069, allocations: 27.42 kB / 1.368 GB, free: 8.684 MB / 1.092 GB Notification: Performance of SimCode: time 6.51e-07/1.069, allocations: 0 / 1.368 GB, free: 8.684 MB / 1.092 GB Notification: Performance of Templates: time 0.02341/1.093, allocations: 14.35 MB / 1.382 GB, free: 10.34 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches