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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.783/1.783, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009567/0.0009568, allocations: 189.2 kB / 487 MB, free: 5.355 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.131/1.131, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.000912/0.000912, allocations: 104.8 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.542e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.6999, allocations: 164.7 MB / 1.366 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.7002, allocations: 90.5 kB / 1.366 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02673/0.7269, allocations: 14.29 MB / 1.38 GB, free: 15.63 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.7269, allocations: 12 kB / 1.38 GB, free: 15.62 MB / 0.823 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.000548/0.7275, allocations: 468.5 kB / 1.381 GB, free: 15.13 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.7275, allocations: 16.03 kB / 1.381 GB, free: 15.12 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005792/0.7281, allocations: 83.58 kB / 1.381 GB, free: 15.04 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.7284, allocations: 240.8 kB / 1.381 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.7284, allocations: 4 kB / 1.381 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.7285, allocations: 8 kB / 1.381 GB, free: 14.76 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003383/0.7288, allocations: 186.5 kB / 1.381 GB, free: 14.64 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.7291, allocations: 271.5 kB / 1.381 GB, free: 14.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.7292, allocations: 0 / 1.381 GB, free: 14.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.7292, allocations: 7.891 kB / 1.381 GB, free: 14.39 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.7292, allocations: 23.92 kB / 1.381 GB, free: 14.37 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.7306, allocations: 1.463 MB / 1.383 GB, free: 12.89 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.7308, allocations: 227.7 kB / 1.383 GB, free: 12.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.731, allocations: 116.2 kB / 1.383 GB, free: 12.61 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.731, allocations: 7.969 kB / 1.383 GB, free: 12.61 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.731, allocations: 42.5 kB / 1.383 GB, free: 12.55 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.7311, allocations: 0 / 1.383 GB, free: 12.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0003612/0.7314, allocations: 220.2 kB / 1.383 GB, free: 12.38 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.7315, allocations: 81.11 kB / 1.383 GB, free: 12.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.7316, allocations: 153.9 kB / 1.384 GB, free: 12.14 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.7316, allocations: 25.7 kB / 1.384 GB, free: 12.11 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.7317, allocations: 135.5 kB / 1.384 GB, free: 11.98 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.7317, allocations: 53.17 kB / 1.384 GB, free: 11.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.7317, allocations: 0 / 1.384 GB, free: 11.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.7318, allocations: 325.5 kB / 1.384 GB, free: 11.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.7319, allocations: 95.08 kB / 1.384 GB, free: 11.55 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.7321, allocations: 150.3 kB / 1.384 GB, free: 11.41 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.7322, allocations: 113.4 kB / 1.384 GB, free: 11.33 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7322, allocations: 0 / 1.384 GB, free: 11.33 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003508/0.7326, allocations: 268.8 kB / 1.385 GB, free: 11.12 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.7328, allocations: 0.7051 MB / 1.385 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7328, allocations: 4 kB / 1.385 GB, free: 10.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.7328, allocations: 4 kB / 1.385 GB, free: 10.37 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.7331, allocations: 63.7 kB / 1.385 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7332, allocations: 4 kB / 1.386 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.7334, allocations: 23.83 kB / 1.386 GB, free: 10.28 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.7334, allocations: 8 kB / 1.386 GB, free: 10.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-06/0.7334, allocations: 4 kB / 1.386 GB, free: 10.27 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002518/0.7336, allocations: 191.2 kB / 1.386 GB, free: 10.13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.7337, allocations: 7.938 kB / 1.386 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.7337, allocations: 4 kB / 1.386 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.7339, allocations: 51.91 kB / 1.386 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.7339, allocations: 3.984 kB / 1.386 GB, free: 10.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.7341, allocations: 31.23 kB / 1.386 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.7341, allocations: 8 kB / 1.386 GB, free: 10.03 MB / 0.823 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 7.14e-05/0.7342, allocations: 116.6 kB / 1.386 GB, free: 9.906 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.7342, allocations: 11.81 kB / 1.386 GB, free: 9.895 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.7346, allocations: 248.5 kB / 1.386 GB, free: 9.715 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7346, allocations: 0 / 1.386 GB, free: 9.715 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7346, allocations: 8 kB / 1.386 GB, free: 9.707 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7346, allocations: 3.984 kB / 1.386 GB, free: 9.703 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.7353, allocations: 0.6027 MB / 1.387 GB, free: 9.129 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.7353, allocations: 0 / 1.387 GB, free: 9.129 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.7355, allocations: 59.58 kB / 1.387 GB, free: 9.074 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7355, allocations: 0 / 1.387 GB, free: 9.074 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7356, allocations: 4 kB / 1.387 GB, free: 9.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7356, allocations: 0 / 1.387 GB, free: 9.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7356, allocations: 4 kB / 1.387 GB, free: 9.066 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003554/0.7359, allocations: 489.1 kB / 1.387 GB, free: 8.582 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.736, allocations: 111.4 kB / 1.387 GB, free: 8.461 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.7361, allocations: 11.94 kB / 1.387 GB, free: 8.449 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.7363, allocations: 15.97 kB / 1.387 GB, free: 8.434 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.7363, allocations: 11.98 kB / 1.387 GB, free: 8.422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.7364, allocations: 4 kB / 1.387 GB, free: 8.414 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.067e-05/0.7364, allocations: 121 kB / 1.388 GB, free: 8.312 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004159/0.7369, allocations: 87.94 kB / 1.388 GB, free: 8.227 MB / 0.823 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.0001013/0.737, allocations: 116.5 kB / 1.388 GB, free: 8.105 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.7374, allocations: 328.7 kB / 1.388 GB, free: 7.875 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7374, allocations: 0 / 1.388 GB, free: 7.875 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.7375, allocations: 101.1 kB / 1.388 GB, free: 7.801 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.7378, allocations: 31.44 kB / 1.388 GB, free: 7.773 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.7383, allocations: 335.1 kB / 1.389 GB, free: 7.441 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.7387, allocations: 0.7774 MB / 1.389 GB, free: 6.645 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.7387, allocations: 0 / 1.389 GB, free: 6.645 MB / 0.823 GB Notification: Performance of Templates: time 0.004839/0.7435, allocations: 3.032 MB / 1.392 GB, free: 3.637 MB / 0.823 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