Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 188.8 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009444/0.0009446, allocations: 90.47 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.571e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1802, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6457/0.826, allocations: 142.2 MB / 1.024 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.8262, allocations: 75.53 kB / 1.024 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1236/0.9499, allocations: 32.77 MB / 1.056 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9499, allocations: 0 / 1.056 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.873e-05/0.95, allocations: 16 kB / 1.056 GB, free: 0.5938 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001656/0.9517, allocations: 0.9917 MB / 1.057 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.9517, allocations: 8.031 kB / 1.057 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.952, allocations: 110.7 kB / 1.057 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.9555, allocations: 2.018 MB / 1.059 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.9555, allocations: 8 kB / 1.059 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.9556, allocations: 38.78 kB / 1.059 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004302/0.956, allocations: 302.6 kB / 1.06 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.9567, allocations: 0.491 MB / 1.06 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.9567, allocations: 0 / 1.06 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.9567, allocations: 11.98 kB / 1.06 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.9567, allocations: 11.98 kB / 1.06 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/0.9611, allocations: 3.042 MB / 1.063 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.9627, allocations: 0.6413 MB / 1.064 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.9629, allocations: 182.6 kB / 1.064 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.963, allocations: 4 kB / 1.064 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.963, allocations: 41.88 kB / 1.064 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.963, allocations: 0 / 1.064 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.00105/0.9641, allocations: 486.3 kB / 1.064 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.9641, allocations: 51.41 kB / 1.064 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.9657, allocations: 1.209 MB / 1.066 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.9658, allocations: 25.7 kB / 1.066 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.9661, allocations: 410.9 kB / 1.066 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.9663, allocations: 99.75 kB / 1.066 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.9663, allocations: 0 / 1.066 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9665, allocations: 339.7 kB / 1.066 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.9668, allocations: 264.7 kB / 1.067 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.9673, allocations: 0.5629 MB / 1.067 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.9678, allocations: 356 kB / 1.068 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.9678, allocations: 4 kB / 1.068 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001735/0.9695, allocations: 1.139 MB / 1.069 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.9696, allocations: 12 kB / 1.069 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.9696, allocations: 15.97 kB / 1.069 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.9707, allocations: 434.9 kB / 1.069 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.9711, allocations: 111.5 kB / 1.069 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.9771, allocations: 5.149 MB / 1.074 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.9793, allocations: 422.4 kB / 1.075 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.9794, allocations: 31.94 kB / 1.075 GB, free: 0.8125 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.9795, allocations: 132.4 kB / 1.075 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.9797, allocations: 90.88 kB / 1.075 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.98, allocations: 96.05 kB / 1.075 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.98, allocations: 7.938 kB / 1.075 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.98, allocations: 0 / 1.075 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.98, allocations: 3.984 kB / 1.075 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.9813, allocations: 1.071 MB / 1.076 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9813, allocations: 0 / 1.076 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.9817, allocations: 99.16 kB / 1.076 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.9819, allocations: 39.7 kB / 1.076 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.9819, allocations: 14.8 kB / 1.076 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.9831, allocations: 1.442 MB / 1.078 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9831, allocations: 0 / 1.078 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.984, allocations: 0.7897 MB / 1.078 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008911/0.9849, allocations: 0.9536 MB / 1.079 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.985, allocations: 15.36 kB / 1.079 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.9861, allocations: 195.6 kB / 1.08 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.9862, allocations: 20 kB / 1.08 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.9862, allocations: 7.562 kB / 1.08 GB, free: 12.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001118/0.9873, allocations: 0.8962 MB / 1.08 GB, free: 11.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9873, allocations: 3.938 kB / 1.08 GB, free: 11.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001639/0.989, allocations: 0.6708 MB / 1.081 GB, free: 10.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000381/0.9894, allocations: 224.2 kB / 1.081 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.9909, allocations: 0.8512 MB / 1.082 GB, free: 9.961 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9909, allocations: 0 / 1.082 GB, free: 9.961 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.9913, allocations: 307.9 kB / 1.082 GB, free: 9.703 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.9924, allocations: 254.4 kB / 1.083 GB, free: 9.508 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.9949, allocations: 1.966 MB / 1.085 GB, free: 7.691 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.9956, allocations: 1.169 MB / 1.086 GB, free: 6.562 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005475/0.9962, allocations: 250.7 kB / 1.086 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.9963, allocations: 55.38 kB / 1.086 GB, free: 6.258 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.9963, allocations: 0 / 1.086 GB, free: 6.258 MB / 0.698 GB Notification: Performance of Templates: time 0.02299/1.019, allocations: 12.95 MB / 1.099 GB, free: 9.477 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches