Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [: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.318/1.318, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001147/0.001148, allocations: 177.2 kB / 316 MB, free: 3.57 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.228/1.228, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0009858/0.0009858, allocations: 89.5 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.484e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6426, allocations: 162.2 MB / 1.043 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.6429, allocations: 86.81 kB / 1.043 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1474/0.7904, allocations: 61.88 MB / 1.103 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.687e-05/0.7905, allocations: 43.98 kB / 1.103 GB, free: 5.777 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003303/0.7938, allocations: 1.631 MB / 1.105 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7939, allocations: 12.03 kB / 1.105 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/0.7966, allocations: 480.7 kB / 1.106 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.7988, allocations: 1.292 MB / 1.107 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.7988, allocations: 48 kB / 1.107 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.7991, allocations: 91.31 kB / 1.107 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004019/0.8031, allocations: 2.349 MB / 1.109 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004412/0.8076, allocations: 2.966 MB / 1.112 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.8076, allocations: 7.938 kB / 1.112 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.8078, allocations: 8 kB / 1.112 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005801/0.8084, allocations: 179 kB / 1.112 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.8296, allocations: 14.71 MB / 1.127 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.832, allocations: 1.741 MB / 1.128 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.8341, allocations: 1.55 MB / 1.13 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.8342, allocations: 16.98 kB / 1.13 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.8342, allocations: 43.56 kB / 1.13 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 4.067e-06/0.8342, allocations: 0 / 1.13 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.04143/0.8757, allocations: 14.15 MB / 1.144 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.8757, allocations: 77.39 kB / 1.144 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.8771, allocations: 0.9967 MB / 1.145 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.8773, allocations: 33.64 kB / 1.145 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.8777, allocations: 0.6585 MB / 1.145 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005623/0.8783, allocations: 0.5966 MB / 1.146 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.8785, allocations: 0 / 1.146 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8787, allocations: 385.9 kB / 1.146 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.8815, allocations: 2.147 MB / 1.149 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/0.8846, allocations: 2.47 MB / 1.151 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005789/0.8904, allocations: 2.939 MB / 1.154 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.8904, allocations: 4 kB / 1.154 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01848/0.9089, allocations: 8.769 MB / 1.162 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9089, allocations: 4 kB / 1.162 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.909, allocations: 8.562 kB / 1.162 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/0.9242, allocations: 4.997 MB / 1.167 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.9253, allocations: 243.6 kB / 1.168 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03319/0.9585, allocations: 21.57 MB / 1.189 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.9607, allocations: 75.75 kB / 1.189 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005248/0.9613, allocations: 267.8 kB / 1.189 GB, free: 13.7 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005123/0.9618, allocations: 124.7 kB / 1.189 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.9621, allocations: 138.3 kB / 1.189 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/0.9793, allocations: 8.348 MB / 1.197 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.9794, allocations: 20 kB / 1.197 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/0.9794, allocations: 16 kB / 1.197 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.9794, allocations: 11.95 kB / 1.197 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/1.004, allocations: 12.76 MB / 1.21 GB, free: 8.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.004, allocations: 4 kB / 1.21 GB, free: 8.105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/1.004, allocations: 115.8 kB / 1.21 GB, free: 7.992 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01502/1.019, allocations: 4.767 MB / 1.215 GB, free: 3.207 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002743/1.019, allocations: 63.89 kB / 1.215 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03003/1.049, allocations: 18.5 MB / 1.233 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.049, allocations: 4 kB / 1.233 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01619/1.066, allocations: 7.903 MB / 1.24 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.067, allocations: 0.827 MB / 1.241 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004678/1.068, allocations: 8 kB / 1.241 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.069, allocations: 39.97 kB / 1.241 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/1.069, allocations: 153.6 kB / 1.241 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003466/1.07, allocations: 183.9 kB / 1.242 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001051/1.071, allocations: 0.7763 MB / 1.242 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002832/1.074, allocations: 0.6602 MB / 1.243 GB, free: 5.602 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005587/1.074, allocations: 135 kB / 1.243 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.3304/1.405, allocations: 5.728 MB / 1.249 GB, free: 231.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.405, allocations: 3.812 kB / 1.249 GB, free: 231.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006644/1.411, allocations: 3.378 MB / 1.252 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.413, allocations: 146.9 kB / 1.252 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00793/1.421, allocations: 4.386 MB / 1.256 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.422, allocations: 1.904 MB / 1.258 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.173e-06/1.422, allocations: 0 / 1.258 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.0773/1.5, allocations: 58.24 MB / 1.315 GB, free: 224 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches