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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 249.4 MB / 256.7 MB, free: 15.81 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.001092/0.001092, allocations: 186.7 kB / 316 MB, free: 7.215 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.791/1.791, allocations: 205.1 MB / 0.5667 GB, free: 23.56 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.0009673/0.0009673, allocations: 94.97 kB / 0.671 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.534e-06, allocations: 0 / 0.7807 GB, free: 396 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/0.5817, allocations: 106.3 MB / 0.8846 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.7601, allocations: 146.9 MB / 1.028 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.7605, allocations: 95.92 kB / 1.028 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.3968/1.157, allocations: 12.96 MB / 1.041 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.157, allocations: 3.625 kB / 1.041 GB, free: 147.6 MB / 0.6823 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.0005214/1.158, allocations: 473.7 kB / 1.041 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/1.158, allocations: 8.766 kB / 1.041 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/1.158, allocations: 83.94 kB / 1.041 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/1.159, allocations: 241.3 kB / 1.042 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/1.159, allocations: 3.406 kB / 1.042 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/1.159, allocations: 11.41 kB / 1.042 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002844/1.159, allocations: 182.3 kB / 1.042 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/1.159, allocations: 277.5 kB / 1.042 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.159, allocations: 2.938 kB / 1.042 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/1.159, allocations: 0 / 1.042 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/1.159, allocations: 28.92 kB / 1.042 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/1.161, allocations: 1.47 MB / 1.043 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/1.161, allocations: 231.1 kB / 1.044 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/1.161, allocations: 111.3 kB / 1.044 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.161, allocations: 8.094 kB / 1.044 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/1.161, allocations: 32.44 kB / 1.044 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/1.161, allocations: 4 kB / 1.044 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0004083/1.162, allocations: 227 kB / 1.044 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/1.162, allocations: 77.67 kB / 1.044 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/1.162, allocations: 150.5 kB / 1.044 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/1.162, allocations: 25.7 kB / 1.044 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/1.162, allocations: 142.3 kB / 1.044 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/1.162, allocations: 48.61 kB / 1.045 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/1.162, allocations: 0 / 1.045 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/1.162, allocations: 327.9 kB / 1.045 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/1.162, allocations: 86.53 kB / 1.045 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/1.162, allocations: 155.4 kB / 1.045 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.162, allocations: 117.7 kB / 1.045 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.162, allocations: 0 / 1.045 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003215/1.163, allocations: 272 kB / 1.045 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.163, allocations: 0.6989 MB / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.163, allocations: 0 / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.163, allocations: 3.844 kB / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/1.163, allocations: 61.19 kB / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.163, allocations: 3.906 kB / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/1.163, allocations: 31.11 kB / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/1.163, allocations: 11.78 kB / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/1.163, allocations: 3.938 kB / 1.046 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002366/1.164, allocations: 195.7 kB / 1.046 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/1.164, allocations: 3.875 kB / 1.046 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-06/1.164, allocations: 3.844 kB / 1.046 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/1.164, allocations: 46.41 kB / 1.046 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/1.164, allocations: 11.7 kB / 1.046 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/1.164, allocations: 27.64 kB / 1.046 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/1.164, allocations: 3.969 kB / 1.046 GB, free: 143.8 MB / 0.6823 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 5.964e-05/1.164, allocations: 111 kB / 1.047 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/1.164, allocations: 15.56 kB / 1.047 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/1.165, allocations: 246.4 kB / 1.047 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.165, allocations: 3.969 kB / 1.047 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.165, allocations: 0 / 1.047 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.165, allocations: 11.38 kB / 1.047 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/1.165, allocations: 0.6078 MB / 1.047 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.165, allocations: 1.688 kB / 1.047 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/1.166, allocations: 48.88 kB / 1.048 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.166, allocations: 5.406 kB / 1.048 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/1.166, allocations: 2.656 kB / 1.048 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.166, allocations: 2.766 kB / 1.048 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.166, allocations: 2.719 kB / 1.048 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003338/1.166, allocations: 488.7 kB / 1.048 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/1.166, allocations: 111 kB / 1.048 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/1.166, allocations: 2.125 kB / 1.048 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/1.166, allocations: 22.66 kB / 1.048 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/1.166, allocations: 13.33 kB / 1.048 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/1.166, allocations: 5.344 kB / 1.048 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.089e-05/1.166, allocations: 119.7 kB / 1.048 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004723/1.167, allocations: 83.72 kB / 1.048 GB, free: 142.6 MB / 0.6823 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.0001137/1.167, allocations: 116.1 kB / 1.048 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005011/1.168, allocations: 327.1 kB / 1.049 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.168, allocations: 0.5938 kB / 1.049 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/1.168, allocations: 108.5 kB / 1.049 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/1.168, allocations: 37.3 kB / 1.049 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/1.169, allocations: 325.9 kB / 1.049 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/1.169, allocations: 0.7759 MB / 1.05 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/1.169, allocations: 4.594 kB / 1.05 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.006581/1.176, allocations: 3.037 MB / 1.053 GB, free: 141.2 MB / 0.6823 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