Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 178.3 kB / 326.5 MB, free: 2.246 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.706/1.706, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009346/0.0009342, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 9.5 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2132, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.399, allocations: 147.8 MB / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.3993, allocations: 95.92 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.463/0.8624, allocations: 13.46 MB / 1.058 GB, free: 149.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8624, allocations: 0 / 1.058 GB, free: 149.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.8625, allocations: 2.594 kB / 1.058 GB, free: 149.6 MB / 0.698 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.0007949/0.8633, allocations: 0.4927 MB / 1.058 GB, free: 149.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.8633, allocations: 8.406 kB / 1.058 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006407/0.864, allocations: 78.28 kB / 1.058 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.8643, allocations: 240.2 kB / 1.058 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.8643, allocations: 15.52 kB / 1.058 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.8643, allocations: 14.23 kB / 1.058 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.8648, allocations: 300 kB / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.8649, allocations: 0 / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.8649, allocations: 10.25 kB / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.8649, allocations: 23.8 kB / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.8654, allocations: 270.8 kB / 1.059 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.8669, allocations: 1.511 MB / 1.06 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.8674, allocations: 256.5 kB / 1.061 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.8674, allocations: 5.75 kB / 1.061 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.8674, allocations: 37.78 kB / 1.061 GB, free: 147.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.8674, allocations: 0 / 1.061 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007376/0.8682, allocations: 361.6 kB / 1.061 GB, free: 147.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.8682, allocations: 79.89 kB / 1.061 GB, free: 147.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.8684, allocations: 157.4 kB / 1.061 GB, free: 147.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.8684, allocations: 32.92 kB / 1.061 GB, free: 147.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.8685, allocations: 146.4 kB / 1.062 GB, free: 147.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.8685, allocations: 54.86 kB / 1.062 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.8685, allocations: 3.688 kB / 1.062 GB, free: 147.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.8686, allocations: 326.3 kB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.8688, allocations: 104.8 kB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.8691, allocations: 178.1 kB / 1.062 GB, free: 146.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.8693, allocations: 126.5 kB / 1.062 GB, free: 146.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8693, allocations: 0 / 1.062 GB, free: 146.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005176/0.8699, allocations: 321 kB / 1.063 GB, free: 146.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.87, allocations: 0.7032 MB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.87, allocations: 4.281 kB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8701, allocations: 2.969 kB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.8704, allocations: 63.92 kB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.8704, allocations: 3.453 kB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.8706, allocations: 32.12 kB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.8706, allocations: 6.969 kB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.8706, allocations: 9.875 kB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004269/0.8711, allocations: 239 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8711, allocations: 3.375 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.8711, allocations: 9.25 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.8713, allocations: 53.7 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8713, allocations: 5.859 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.8715, allocations: 28.45 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.8715, allocations: 9.578 kB / 1.064 GB, free: 146 MB / 0.698 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.0001322/0.8717, allocations: 221.1 kB / 1.064 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.8717, allocations: 20.56 kB / 1.064 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.8723, allocations: 280 kB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8723, allocations: 0.6562 kB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8723, allocations: 9.312 kB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8723, allocations: 0.7031 kB / 1.064 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.8733, allocations: 0.685 MB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8733, allocations: 4.547 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.8735, allocations: 48.59 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8736, allocations: 3.688 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.8736, allocations: 5.344 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8736, allocations: 0.5625 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.8736, allocations: 8.75 kB / 1.065 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.8741, allocations: 0.5106 MB / 1.065 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.8742, allocations: 114.3 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.8742, allocations: 4.172 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.8745, allocations: 22.58 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.8745, allocations: 22.69 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.8745, allocations: 8.719 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.275e-05/0.8746, allocations: 132.2 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8747, allocations: 0 / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004631/0.8751, allocations: 100.7 kB / 1.066 GB, free: 144.8 MB / 0.698 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.0001191/0.8752, allocations: 104 kB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006953/0.876, allocations: 387.3 kB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.876, allocations: 4.125 kB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.8762, allocations: 124.1 kB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.8765, allocations: 37.92 kB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.8772, allocations: 0.505 MB / 1.067 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.8775, allocations: 0.7479 MB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000219/0.8777, allocations: 77.55 kB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.8778, allocations: 17.66 kB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.8778, allocations: 3.031 kB / 1.068 GB, free: 143.7 MB / 0.698 GB Notification: Performance of Templates: time 0.007409/0.8852, allocations: 2.075 MB / 1.07 GB, free: 143.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches