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.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.906 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.001012/0.001012, allocations: 179.5 kB / 316.3 MB, free: 3.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.679/1.679, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009416/0.0009416, allocations: 105.6 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.326e-05/1.329e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7632/0.9815, allocations: 148 MB / 1.03 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.9818, allocations: 91.5 kB / 1.03 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03103/1.013, allocations: 13.33 MB / 1.043 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.764e-06/1.013, allocations: 0 / 1.043 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.013, allocations: 8 kB / 1.043 GB, free: 12.03 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006861/1.014, allocations: 464.8 kB / 1.043 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.014, allocations: 8.031 kB / 1.043 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006405/1.014, allocations: 83.62 kB / 1.043 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.015, allocations: 253.4 kB / 1.044 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/1.015, allocations: 4 kB / 1.044 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.015, allocations: 8 kB / 1.044 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002916/1.015, allocations: 171.8 kB / 1.044 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/1.015, allocations: 277.4 kB / 1.044 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.015, allocations: 0 / 1.044 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/1.015, allocations: 3.984 kB / 1.044 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/1.015, allocations: 19.98 kB / 1.044 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/1.017, allocations: 1.456 MB / 1.045 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/1.017, allocations: 241.1 kB / 1.046 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/1.018, allocations: 115.9 kB / 1.046 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/1.018, allocations: 11.92 kB / 1.046 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/1.018, allocations: 33.75 kB / 1.046 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.018, allocations: 0 / 1.046 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0003913/1.018, allocations: 217.6 kB / 1.046 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.018, allocations: 77.11 kB / 1.046 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/1.018, allocations: 150.3 kB / 1.046 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/1.018, allocations: 29.73 kB / 1.046 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/1.018, allocations: 144.2 kB / 1.046 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/1.018, allocations: 52.95 kB / 1.047 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/1.018, allocations: 0 / 1.047 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.019, allocations: 329.1 kB / 1.047 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/1.019, allocations: 86.7 kB / 1.047 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/1.019, allocations: 148.8 kB / 1.047 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/1.019, allocations: 107.6 kB / 1.047 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.019, allocations: 0 / 1.047 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003499/1.019, allocations: 263.6 kB / 1.047 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002714/1.02, allocations: 0.6977 MB / 1.048 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.02, allocations: 4 kB / 1.048 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.02, allocations: 7.953 kB / 1.048 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/1.02, allocations: 63.64 kB / 1.048 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.02, allocations: 0 / 1.048 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/1.02, allocations: 31.81 kB / 1.048 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/1.02, allocations: 8 kB / 1.048 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/1.02, allocations: 4 kB / 1.048 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002576/1.021, allocations: 192.5 kB / 1.048 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/1.021, allocations: 0 / 1.048 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-06/1.021, allocations: 4 kB / 1.048 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/1.021, allocations: 51.95 kB / 1.048 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.021, allocations: 11.92 kB / 1.048 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/1.021, allocations: 32.03 kB / 1.048 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/1.021, allocations: 7.5 kB / 1.048 GB, free: 6.484 MB / 0.6667 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.292e-05/1.021, allocations: 108.9 kB / 1.049 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/1.021, allocations: 15.81 kB / 1.049 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/1.021, allocations: 231.3 kB / 1.049 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.021, allocations: 4 kB / 1.049 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.021, allocations: 0 / 1.049 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.021, allocations: 3.984 kB / 1.049 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/1.022, allocations: 0.5996 MB / 1.049 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.022, allocations: 4 kB / 1.049 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/1.023, allocations: 50.95 kB / 1.049 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.023, allocations: 4 kB / 1.049 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/1.023, allocations: 3.938 kB / 1.049 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.023, allocations: 8.125 kB / 1.049 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.023, allocations: 0 / 1.049 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/1.023, allocations: 481.1 kB / 1.05 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/1.023, allocations: 110 kB / 1.05 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/1.023, allocations: 4 kB / 1.05 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/1.023, allocations: 19.97 kB / 1.05 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/1.023, allocations: 18.98 kB / 1.05 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/1.023, allocations: 4 kB / 1.05 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 8.484e-05/1.023, allocations: 120.7 kB / 1.05 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.023, allocations: 0 / 1.05 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004608/1.024, allocations: 91.2 kB / 1.05 GB, free: 4.711 MB / 0.6667 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.0001652/1.024, allocations: 111.1 kB / 1.05 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004522/1.025, allocations: 320.3 kB / 1.051 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.025, allocations: 0 / 1.051 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/1.025, allocations: 100.9 kB / 1.051 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/1.025, allocations: 29.53 kB / 1.051 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/1.026, allocations: 313 kB / 1.051 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.026, allocations: 0.751 MB / 1.052 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002344/1.026, allocations: 73.78 kB / 1.052 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/1.026, allocations: 19.44 kB / 1.052 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/1.026, allocations: 4 kB / 1.052 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of Templates: time 0.004785/1.031, allocations: 2.171 MB / 1.054 GB, free: 0.9492 MB / 0.6667 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