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.304/2.304, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001059/0.001059, allocations: 184.8 kB / 487.4 MB, free: 5.039 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.565/1.565, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.0009773, allocations: 107.8 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.469e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2737, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.395, allocations: 164.8 MB / 1.367 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.395, allocations: 92.11 kB / 1.367 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03098/1.426, allocations: 14.66 MB / 1.381 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.426, allocations: 0 / 1.381 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.827e-05/1.426, allocations: 7.781 kB / 1.381 GB, free: 31.27 MB / 0.8386 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.0006316/1.427, allocations: 474.3 kB / 1.382 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.427, allocations: 11.62 kB / 1.382 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/1.428, allocations: 86.48 kB / 1.382 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/1.428, allocations: 238.4 kB / 1.382 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.428, allocations: 3.812 kB / 1.382 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/1.428, allocations: 7.875 kB / 1.382 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002674/1.428, allocations: 184.6 kB / 1.382 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/1.428, allocations: 264.6 kB / 1.383 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.428, allocations: 3.938 kB / 1.383 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/1.429, allocations: 7.797 kB / 1.383 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/1.429, allocations: 22.89 kB / 1.383 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.43, allocations: 1.457 MB / 1.384 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/1.43, allocations: 234.2 kB / 1.384 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/1.43, allocations: 114.2 kB / 1.384 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/1.43, allocations: 0 / 1.384 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/1.43, allocations: 37.78 kB / 1.384 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/1.43, allocations: 4 kB / 1.384 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003524/1.431, allocations: 210.7 kB / 1.385 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/1.431, allocations: 81.05 kB / 1.385 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/1.431, allocations: 156.3 kB / 1.385 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.431, allocations: 25.7 kB / 1.385 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/1.431, allocations: 140.6 kB / 1.385 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/1.431, allocations: 48.55 kB / 1.385 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/1.431, allocations: 0 / 1.385 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.431, allocations: 332.8 kB / 1.385 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/1.431, allocations: 83.75 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.431, allocations: 145.4 kB / 1.386 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/1.432, allocations: 118.5 kB / 1.386 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.432, allocations: 0 / 1.386 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003117/1.432, allocations: 254.4 kB / 1.386 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002615/1.432, allocations: 0.702 MB / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.432, allocations: 0 / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.432, allocations: 7.766 kB / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/1.433, allocations: 62.14 kB / 1.387 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.433, allocations: 3.906 kB / 1.387 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/1.433, allocations: 35.31 kB / 1.387 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/1.433, allocations: 3.844 kB / 1.387 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/1.433, allocations: 7.719 kB / 1.387 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002305/1.433, allocations: 186.5 kB / 1.387 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/1.433, allocations: 3.875 kB / 1.387 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/1.433, allocations: 4.062 kB / 1.387 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/1.433, allocations: 62.27 kB / 1.387 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/1.433, allocations: 3.844 kB / 1.387 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/1.433, allocations: 23.39 kB / 1.387 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/1.433, allocations: 11.44 kB / 1.387 GB, free: 27.14 MB / 0.8386 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 () * 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 8.817e-05/1.434, allocations: 116.6 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/1.434, allocations: 15.5 kB / 1.387 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/1.434, allocations: 236.9 kB / 1.387 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.434, allocations: 3.875 kB / 1.387 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.434, allocations: 0 / 1.387 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.434, allocations: 0 / 1.387 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006627/1.435, allocations: 0.5985 MB / 1.388 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.435, allocations: 4 kB / 1.388 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/1.435, allocations: 50.77 kB / 1.388 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.435, allocations: 7.812 kB / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.435, allocations: 0 / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.435, allocations: 3.906 kB / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.435, allocations: 0 / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/1.435, allocations: 473.4 kB / 1.388 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/1.435, allocations: 122.3 kB / 1.389 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/1.435, allocations: 7.797 kB / 1.389 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/1.436, allocations: 19.5 kB / 1.389 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/1.436, allocations: 11.27 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/1.436, allocations: 7.844 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.984e-05/1.436, allocations: 118.2 kB / 1.389 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.436, allocations: 0 / 1.389 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004359/1.436, allocations: 81.7 kB / 1.389 GB, free: 25.91 MB / 0.8386 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 () * 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.00014/1.436, allocations: 120.5 kB / 1.389 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003876/1.437, allocations: 312.2 kB / 1.389 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.437, allocations: 0 / 1.389 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.437, allocations: 97.7 kB / 1.389 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/1.437, allocations: 31.66 kB / 1.389 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/1.438, allocations: 319.5 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/1.438, allocations: 0.7598 MB / 1.39 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002025/1.438, allocations: 79.36 kB / 1.39 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/1.438, allocations: 18.97 kB / 1.39 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.438, allocations: 0 / 1.39 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of Templates: time 0.004095/1.442, allocations: 2.16 MB / 1.393 GB, free: 23.71 MB / 0.8386 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