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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 168 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.776/1.776, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009888/0.000989, allocations: 90.02 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004865, allocations: 10.62 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3802, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.421/1.801, allocations: 457.9 MB / 1.676 GB, free: 5.25 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.801, allocations: 70.59 kB / 1.676 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09987/1.901, allocations: 36.81 MB / 1.712 GB, free: 4.82 MB / 1.026 GB Notification: Performance of FrontEnd: time 4.218e-06/1.901, allocations: 0 / 1.712 GB, free: 4.82 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.901, allocations: 0 / 1.712 GB, free: 4.82 MB / 1.026 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.001036/1.902, allocations: 371 kB / 1.713 GB, free: 4.414 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/1.902, allocations: 8.562 kB / 1.713 GB, free: 4.406 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/1.903, allocations: 15.94 kB / 1.713 GB, free: 4.391 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/1.903, allocations: 167.1 kB / 1.713 GB, free: 4.188 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/1.903, allocations: 7.688 kB / 1.713 GB, free: 4.184 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/1.903, allocations: 11.84 kB / 1.713 GB, free: 4.172 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/1.903, allocations: 53.11 kB / 1.713 GB, free: 4.121 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.903, allocations: 0 / 1.713 GB, free: 4.121 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/1.903, allocations: 3.984 kB / 1.713 GB, free: 4.117 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.903, allocations: 3.953 kB / 1.713 GB, free: 4.113 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/1.903, allocations: 19.73 kB / 1.713 GB, free: 4.098 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/1.904, allocations: 161 kB / 1.713 GB, free: 3.898 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/1.904, allocations: 65.92 kB / 1.713 GB, free: 3.832 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/1.915, allocations: 3.128 MB / 1.716 GB, free: 0.6523 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/1.915, allocations: 38.31 kB / 1.716 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/1.915, allocations: 0 / 1.716 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of matching and sorting (n=11): time 0.02958/1.944, allocations: 13.44 MB / 1.729 GB, free: 3.121 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/1.945, allocations: 51.41 kB / 1.729 GB, free: 3.059 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/1.945, allocations: 88.98 kB / 1.73 GB, free: 2.965 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/1.945, allocations: 33.08 kB / 1.73 GB, free: 2.93 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/1.945, allocations: 80.14 kB / 1.73 GB, free: 2.848 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/1.945, allocations: 42.95 kB / 1.73 GB, free: 2.809 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/1.945, allocations: 3.812 kB / 1.73 GB, free: 2.809 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.945, allocations: 314.8 kB / 1.73 GB, free: 2.492 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/1.945, allocations: 22.48 kB / 1.73 GB, free: 2.477 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/1.945, allocations: 25.73 kB / 1.73 GB, free: 2.461 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.866e-05/1.945, allocations: 26.56 kB / 1.73 GB, free: 2.445 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.945, allocations: 4 kB / 1.73 GB, free: 2.441 MB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002087/1.945, allocations: 103.6 kB / 1.73 GB, free: 2.352 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.945, allocations: 4 kB / 1.73 GB, free: 2.348 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.945, allocations: 0 / 1.73 GB, free: 2.348 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.945, allocations: 4 kB / 1.73 GB, free: 2.344 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/1.946, allocations: 31.38 kB / 1.73 GB, free: 2.316 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.946, allocations: 3.938 kB / 1.73 GB, free: 2.312 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/1.946, allocations: 4 kB / 1.73 GB, free: 2.309 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/1.946, allocations: 0 / 1.73 GB, free: 2.309 MB / 1.042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.946, allocations: 123.6 kB / 1.73 GB, free: 2.184 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/1.946, allocations: 4 kB / 1.73 GB, free: 2.18 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/1.946, allocations: 129 kB / 1.73 GB, free: 2.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.946, allocations: 0 / 1.73 GB, free: 2.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.946, allocations: 3.953 kB / 1.73 GB, free: 2.066 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/1.946, allocations: 0 / 1.73 GB, free: 2.066 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/1.946, allocations: 176 kB / 1.731 GB, free: 1.855 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.946, allocations: 0 / 1.731 GB, free: 1.855 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.946, allocations: 31.92 kB / 1.731 GB, free: 1.824 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.946, allocations: 0 / 1.731 GB, free: 1.824 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/1.946, allocations: 11.94 kB / 1.731 GB, free: 1.812 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.947, allocations: 0 / 1.731 GB, free: 1.812 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.947, allocations: 0 / 1.731 GB, free: 1.812 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/1.947, allocations: 160.6 kB / 1.731 GB, free: 1.664 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/1.947, allocations: 95.62 kB / 1.731 GB, free: 1.559 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.947, allocations: 0 / 1.731 GB, free: 1.559 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.947, allocations: 19.31 kB / 1.731 GB, free: 1.543 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/1.947, allocations: 11.92 kB / 1.731 GB, free: 1.531 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/1.947, allocations: 7.984 kB / 1.731 GB, free: 1.523 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.072e-05/1.947, allocations: 78.78 kB / 1.731 GB, free: 1.449 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.01e-07/1.947, allocations: 0 / 1.731 GB, free: 1.449 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002704/1.95, allocations: 0.6012 MB / 1.732 GB, free: 0.8711 MB / 1.042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00347/1.953, allocations: 0.7581 MB / 1.732 GB, free: 128 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002535/1.954, allocations: 65.66 kB / 1.732 GB, free: 76 kB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.954, allocations: 0 / 1.732 GB, free: 76 kB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/1.954, allocations: 30.42 kB / 1.732 GB, free: 52 kB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/1.954, allocations: 14.98 kB / 1.732 GB, free: 40 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/1.955, allocations: 413.1 kB / 1.733 GB, free: 15.61 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.955, allocations: 0.6848 MB / 1.734 GB, free: 14.9 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001022/1.955, allocations: 28.53 kB / 1.734 GB, free: 14.87 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/1.955, allocations: 11.44 kB / 1.734 GB, free: 14.86 MB / 1.057 GB Notification: Performance of SimCode: time 2.3e-07/1.955, allocations: 0 / 1.734 GB, free: 14.86 MB / 1.057 GB Notification: Performance of Templates: time 0.04973/2.005, allocations: 27.27 MB / 1.76 GB, free: 3.586 MB / 1.073 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","../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches