Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.688/1.688, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009121/0.0009121, allocations: 185.2 kB / 490.8 MB, free: 1.887 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.047/1.047, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 104.2 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.47e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.6162, allocations: 165.5 MB / 1.373 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.6164, allocations: 89.19 kB / 1.373 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02867/0.6451, allocations: 14.29 MB / 1.387 GB, free: 13.65 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.6451, allocations: 7.75 kB / 1.387 GB, free: 13.65 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.0005245/0.6456, allocations: 476.5 kB / 1.388 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.6457, allocations: 8.781 kB / 1.388 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.6462, allocations: 82.17 kB / 1.388 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.6465, allocations: 237 kB / 1.388 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.6465, allocations: 4.5 kB / 1.388 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.6465, allocations: 11.78 kB / 1.388 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002788/0.6468, allocations: 183.4 kB / 1.388 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.6471, allocations: 270.3 kB / 1.388 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6471, allocations: 1.375 kB / 1.388 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.6472, allocations: 3.938 kB / 1.388 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.6472, allocations: 32.11 kB / 1.389 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.6484, allocations: 1.455 MB / 1.39 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.6487, allocations: 238.5 kB / 1.39 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.6489, allocations: 115.8 kB / 1.39 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.6489, allocations: 5.219 kB / 1.39 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.6489, allocations: 35.59 kB / 1.39 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.6489, allocations: 0 / 1.39 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003476/0.6493, allocations: 226.7 kB / 1.391 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.6493, allocations: 78.23 kB / 1.391 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.6494, allocations: 154.3 kB / 1.391 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.6494, allocations: 25.7 kB / 1.391 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.6495, allocations: 135 kB / 1.391 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.6495, allocations: 47.95 kB / 1.391 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.6495, allocations: 3.938 kB / 1.391 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6497, allocations: 326.3 kB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.6498, allocations: 88.83 kB / 1.391 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.6499, allocations: 157.7 kB / 1.392 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.6501, allocations: 105.4 kB / 1.392 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6501, allocations: 4.031 kB / 1.392 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003306/0.6504, allocations: 268.9 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.6506, allocations: 0.6978 MB / 1.393 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6506, allocations: 1.344 kB / 1.393 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6507, allocations: 11.52 kB / 1.393 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.6509, allocations: 60.11 kB / 1.393 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.651, allocations: 2.969 kB / 1.393 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.6511, allocations: 33.66 kB / 1.393 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.6512, allocations: 11.41 kB / 1.393 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/0.6512, allocations: 3.125 kB / 1.393 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002529/0.6514, allocations: 194.2 kB / 1.393 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.6515, allocations: 2.344 kB / 1.393 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.6515, allocations: 3.062 kB / 1.393 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.6517, allocations: 59.41 kB / 1.393 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.6517, allocations: 3.656 kB / 1.393 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.6518, allocations: 24.05 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.6519, allocations: 9.031 kB / 1.393 GB, free: 25.52 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 7.672e-05/0.6519, allocations: 115.6 kB / 1.393 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.652, allocations: 19.58 kB / 1.393 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.6523, allocations: 238.6 kB / 1.393 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6523, allocations: 2.062 kB / 1.393 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6523, allocations: 1.062 kB / 1.393 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6523, allocations: 0 / 1.393 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.653, allocations: 0.6194 MB / 1.394 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.653, allocations: 0 / 1.394 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.6532, allocations: 44.09 kB / 1.394 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6532, allocations: 2.344 kB / 1.394 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6533, allocations: 6.344 kB / 1.394 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6533, allocations: 5.094 kB / 1.394 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6533, allocations: 2.938 kB / 1.394 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003373/0.6536, allocations: 483.8 kB / 1.394 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.6537, allocations: 118.5 kB / 1.395 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.6537, allocations: 2.188 kB / 1.395 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.654, allocations: 14.33 kB / 1.395 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.654, allocations: 18.58 kB / 1.395 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.654, allocations: 7.469 kB / 1.395 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.457e-05/0.6541, allocations: 128.5 kB / 1.395 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004243/0.6545, allocations: 87.97 kB / 1.395 GB, free: 24.3 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 9.32e-05/0.6546, allocations: 103.7 kB / 1.395 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.655, allocations: 334.1 kB / 1.395 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.655, allocations: 4.062 kB / 1.395 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.6552, allocations: 111.4 kB / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.6554, allocations: 24.91 kB / 1.395 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.656, allocations: 325.7 kB / 1.396 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.6563, allocations: 0.7812 MB / 1.396 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.6563, allocations: 0 / 1.396 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.005139/0.6615, allocations: 3.034 MB / 1.399 GB, free: 21.72 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches