Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001147/0.001147, allocations: 176.3 kB / 498.1 MB, free: 5.672 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.564/1.564, allocations: 223.2 MB / 0.7949 GB, free: 17.77 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.0009846/0.0009845, allocations: 103.2 kB / 0.9346 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003649, allocations: 12.16 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3073, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.5241, allocations: 165.5 MB / 1.385 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.5245, allocations: 99.94 kB / 1.385 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.035/0.5596, allocations: 14.8 MB / 1.399 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.417e-06/0.5596, allocations: 0 / 1.399 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.5597, allocations: 4 kB / 1.399 GB, free: 13.32 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007776/0.5604, allocations: 491.7 kB / 1.4 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5605, allocations: 12.03 kB / 1.4 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006244/0.5611, allocations: 83.61 kB / 1.4 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.5615, allocations: 246.6 kB / 1.4 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5615, allocations: 11.98 kB / 1.4 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.5616, allocations: 12 kB / 1.4 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.5621, allocations: 311 kB / 1.4 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5621, allocations: 7.922 kB / 1.4 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.5622, allocations: 4 kB / 1.4 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.5622, allocations: 19.98 kB / 1.4 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.5627, allocations: 267.8 kB / 1.4 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.5644, allocations: 1.505 MB / 1.402 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.565, allocations: 265 kB / 1.402 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.565, allocations: 0 / 1.402 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.565, allocations: 34.56 kB / 1.402 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.565, allocations: 3.984 kB / 1.402 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0007646/0.5658, allocations: 357.6 kB / 1.403 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.5659, allocations: 89 kB / 1.403 GB, free: 9.328 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.566, allocations: 161.7 kB / 1.403 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5661, allocations: 25.7 kB / 1.403 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.5661, allocations: 140.1 kB / 1.403 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.5662, allocations: 63.22 kB / 1.403 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.5662, allocations: 0 / 1.403 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5664, allocations: 326.8 kB / 1.403 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.5666, allocations: 103.9 kB / 1.403 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.5668, allocations: 173.1 kB / 1.404 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.5671, allocations: 135.8 kB / 1.404 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5671, allocations: 0 / 1.404 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005702/0.5677, allocations: 316.1 kB / 1.404 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002932/0.568, allocations: 0.7031 MB / 1.405 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.568, allocations: 4 kB / 1.405 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.568, allocations: 8 kB / 1.405 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.5683, allocations: 59.89 kB / 1.405 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5683, allocations: 7.938 kB / 1.405 GB, free: 7.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.5685, allocations: 31.81 kB / 1.405 GB, free: 6.984 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.5686, allocations: 8 kB / 1.405 GB, free: 6.977 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5686, allocations: 4 kB / 1.405 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004498/0.569, allocations: 243.7 kB / 1.405 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.569, allocations: 7.938 kB / 1.405 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.5691, allocations: 7.938 kB / 1.405 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.5693, allocations: 52.19 kB / 1.405 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.5693, allocations: 3.938 kB / 1.405 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.5695, allocations: 35.81 kB / 1.405 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.5695, allocations: 4 kB / 1.405 GB, free: 6.625 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.0001565/0.5696, allocations: 222.6 kB / 1.405 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.5697, allocations: 15.81 kB / 1.405 GB, free: 6.383 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.5702, allocations: 286.9 kB / 1.406 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5703, allocations: 4 kB / 1.406 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.5703, allocations: 4 kB / 1.406 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5703, allocations: 0 / 1.406 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.5713, allocations: 0.6811 MB / 1.406 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5713, allocations: 0 / 1.406 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.5715, allocations: 52.08 kB / 1.406 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5716, allocations: 0 / 1.406 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.5716, allocations: 8 kB / 1.406 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.5716, allocations: 7.891 kB / 1.406 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5716, allocations: 7.938 kB / 1.406 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.5722, allocations: 0.5046 MB / 1.407 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.5723, allocations: 120.8 kB / 1.407 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.5723, allocations: 4 kB / 1.407 GB, free: 4.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.5726, allocations: 23.97 kB / 1.407 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.5726, allocations: 19.88 kB / 1.407 GB, free: 4.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.5726, allocations: 4 kB / 1.407 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001126/0.5728, allocations: 139.4 kB / 1.407 GB, free: 4.379 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5728, allocations: 0 / 1.407 GB, free: 4.379 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004696/0.5732, allocations: 87.83 kB / 1.407 GB, free: 4.293 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (16): * Single equations (assignments): 16 * 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.0001538/0.5734, allocations: 111.2 kB / 1.407 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007092/0.5741, allocations: 383.5 kB / 1.408 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5741, allocations: 0.875 kB / 1.408 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.5744, allocations: 124.1 kB / 1.408 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.5747, allocations: 36.09 kB / 1.408 GB, free: 3.637 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.5754, allocations: 0.5027 MB / 1.408 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.5758, allocations: 0.7479 MB / 1.409 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.576, allocations: 73.48 kB / 1.409 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.5761, allocations: 19.42 kB / 1.409 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of SimCode: time 3.71e-07/0.5761, allocations: 4 kB / 1.409 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.004588/0.5807, allocations: 2.076 MB / 1.411 GB, free: 172 kB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches