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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00151/0.001509, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.001813/0.001813, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.44/2.44, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 1.054 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6789, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001954/0.6809, allocations: 1.252 MB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1282/0.8091, allocations: 137.7 MB / 1.344 GB, free: 2.184 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.8091, allocations: 0 / 1.344 GB, free: 2.184 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.8092, allocations: 3.984 kB / 1.344 GB, free: 2.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.8093, allocations: 7.938 kB / 1.344 GB, free: 2.172 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.8106, allocations: 462.3 kB / 1.344 GB, free: 1.719 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.8107, allocations: 43.91 kB / 1.344 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.8107, allocations: 0 / 1.344 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.8108, allocations: 19.98 kB / 1.344 GB, free: 1.656 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.8109, allocations: 23.91 kB / 1.344 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.8109, allocations: 0 / 1.344 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.8124, allocations: 0.8309 MB / 1.345 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.8124, allocations: 8 kB / 1.345 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.8125, allocations: 19.91 kB / 1.345 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.8131, allocations: 439 kB / 1.346 GB, free: 356 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8131, allocations: 8 kB / 1.346 GB, free: 348 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8131, allocations: 0 / 1.346 GB, free: 348 kB / 1.061 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.8131, allocations: 0 / 1.346 GB, free: 348 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.0004825/0.8136, allocations: 365.3 kB / 1.346 GB, free: 15.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.8136, allocations: 8.031 kB / 1.346 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.8138, allocations: 20.83 kB / 1.346 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/0.8139, allocations: 172.3 kB / 1.346 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.8139, allocations: 384 / 1.346 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.814, allocations: 16.12 kB / 1.346 GB, free: 15.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.8141, allocations: 49.67 kB / 1.346 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8141, allocations: 3.938 kB / 1.346 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8141, allocations: 0 / 1.346 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8142, allocations: 4 kB / 1.346 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.8142, allocations: 15.98 kB / 1.346 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.8144, allocations: 169.6 kB / 1.346 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.8145, allocations: 54.5 kB / 1.346 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.8145, allocations: 20.8 kB / 1.347 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.8254, allocations: 3.205 MB / 1.35 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.8255, allocations: 30.56 kB / 1.35 GB, free: 11.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.8255, allocations: 0 / 1.35 GB, free: 11.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.04141/0.8669, allocations: 15 MB / 1.364 GB, free: 12.82 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.8669, allocations: 51.41 kB / 1.364 GB, free: 12.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.867, allocations: 105.8 kB / 1.364 GB, free: 12.64 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.867, allocations: 25.7 kB / 1.364 GB, free: 12.61 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.8671, allocations: 80.14 kB / 1.365 GB, free: 12.53 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.8671, allocations: 47.42 kB / 1.365 GB, free: 12.48 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.8672, allocations: 37.72 kB / 1.365 GB, free: 12.44 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.8673, allocations: 314.8 kB / 1.365 GB, free: 12.12 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.8673, allocations: 20 kB / 1.365 GB, free: 12.1 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.8674, allocations: 27.98 kB / 1.365 GB, free: 12.07 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.8675, allocations: 63.66 kB / 1.365 GB, free: 12.01 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.8675, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.092 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002093/0.8677, allocations: 101.7 kB / 1.365 GB, free: 11.91 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8677, allocations: 4 kB / 1.365 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8678, allocations: 4 kB / 1.365 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8678, allocations: 0 / 1.365 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.8679, allocations: 27.92 kB / 1.365 GB, free: 11.87 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8679, allocations: 0 / 1.365 GB, free: 11.87 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.8679, allocations: 8 kB / 1.365 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.8679, allocations: 4 kB / 1.365 GB, free: 11.86 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 7.456e-05/0.868, allocations: 117.8 kB / 1.365 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.8681, allocations: 7.906 kB / 1.365 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.8683, allocations: 133.4 kB / 1.365 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8683, allocations: 0 / 1.365 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8684, allocations: 0 / 1.365 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.8684, allocations: 85.09 kB / 1.366 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.8684, allocations: 4 kB / 1.366 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.8686, allocations: 15.98 kB / 1.366 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.8686, allocations: 11.92 kB / 1.366 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002729/0.8689, allocations: 196.8 kB / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003222/0.8692, allocations: 310.7 kB / 1.366 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.678e-05/0.8693, allocations: 31.92 kB / 1.366 GB, free: 10.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 2.5e-05/0.8693, allocations: 83.28 kB / 1.366 GB, free: 10.82 MB / 1.092 GB Notification: Performance of Backend: time 3.71e-07/0.8693, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003459/0.8728, allocations: 380.5 kB / 1.367 GB, free: 10.45 MB / 1.092 GB Notification: Performance of SimCode: time 0.0006255/0.8734, allocations: 0.7764 MB / 1.367 GB, free: 9.625 MB / 1.092 GB Notification: Performance of Templates: time 0.03026/0.9037, allocations: 24.66 MB / 1.391 GB, free: 0.9414 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