Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.713/1.713, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009154/0.0009154, allocations: 173.3 kB / 490.8 MB, free: 1.957 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.055/1.055, allocations: 221.4 MB / 0.7863 GB, free: 13.72 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.0008113/0.0008114, allocations: 87.38 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.911e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1669, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.6341, allocations: 179.9 MB / 1.387 GB, free: 15.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.6343, allocations: 94.27 kB / 1.387 GB, free: 15.96 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1536/0.7879, allocations: 76.16 MB / 1.462 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.518e-05/0.788, allocations: 39.98 kB / 1.462 GB, free: 3.883 MB / 0.8698 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.002814/0.7908, allocations: 1.638 MB / 1.463 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.7909, allocations: 8.031 kB / 1.463 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.7934, allocations: 485 kB / 1.464 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.7953, allocations: 1.293 MB / 1.465 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.7953, allocations: 48 kB / 1.465 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.7956, allocations: 91.91 kB / 1.465 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002946/0.7985, allocations: 2.351 MB / 1.467 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/0.8021, allocations: 2.963 MB / 1.47 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.8021, allocations: 7.938 kB / 1.47 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.8023, allocations: 4 kB / 1.47 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004878/0.8028, allocations: 180.8 kB / 1.471 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.8197, allocations: 14.71 MB / 1.485 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.8217, allocations: 1.749 MB / 1.487 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.8234, allocations: 1.534 MB / 1.488 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.8235, allocations: 12.98 kB / 1.488 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.8235, allocations: 47.56 kB / 1.488 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=104): time 1.934e-06/0.8235, allocations: 4 kB / 1.488 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183): time 0.03562/0.8591, allocations: 14.17 MB / 1.502 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.8592, allocations: 69.41 kB / 1.502 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.8603, allocations: 1.001 MB / 1.503 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.8605, allocations: 25.7 kB / 1.503 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.8608, allocations: 0.6585 MB / 1.504 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/0.8612, allocations: 0.5965 MB / 1.504 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.8614, allocations: 0 / 1.504 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8616, allocations: 389.9 kB / 1.505 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.8641, allocations: 2.155 MB / 1.507 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/0.8667, allocations: 2.462 MB / 1.509 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004838/0.8716, allocations: 2.936 MB / 1.512 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.8716, allocations: 0 / 1.512 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01582/0.8874, allocations: 8.766 MB / 1.521 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8874, allocations: 8 kB / 1.521 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.8874, allocations: 8 kB / 1.521 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/0.901, allocations: 4.993 MB / 1.526 GB, free: 5.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.9018, allocations: 243.5 kB / 1.526 GB, free: 5.422 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02825/0.9301, allocations: 21.57 MB / 1.547 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.9315, allocations: 71.8 kB / 1.547 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004025/0.9319, allocations: 271.8 kB / 1.547 GB, free: 15.22 MB / 0.9636 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.00039/0.9323, allocations: 124.6 kB / 1.547 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.9327, allocations: 134.4 kB / 1.547 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.9474, allocations: 8.351 MB / 1.556 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.9474, allocations: 23.94 kB / 1.556 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.9474, allocations: 16 kB / 1.556 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.9474, allocations: 11.95 kB / 1.556 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/0.9677, allocations: 12.74 MB / 1.568 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.9677, allocations: 7.938 kB / 1.568 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.9681, allocations: 111.8 kB / 1.568 GB, free: 9.523 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01301/0.9812, allocations: 4.772 MB / 1.573 GB, free: 4.738 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/0.9814, allocations: 59.89 kB / 1.573 GB, free: 4.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02576/1.007, allocations: 18.5 MB / 1.591 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.007, allocations: 7.984 kB / 1.591 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0135/1.021, allocations: 7.891 MB / 1.599 GB, free: 9.809 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.022, allocations: 0.8309 MB / 1.599 GB, free: 8.957 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/1.022, allocations: 4 kB / 1.599 GB, free: 8.953 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.023, allocations: 47.91 kB / 1.6 GB, free: 8.906 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.024, allocations: 153.7 kB / 1.6 GB, free: 8.758 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/1.024, allocations: 179.9 kB / 1.6 GB, free: 8.582 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0007916/1.025, allocations: 0.7763 MB / 1.601 GB, free: 7.805 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001672/1.027, allocations: 0.6641 MB / 1.601 GB, free: 7.141 MB / 1.01 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.0002997/1.027, allocations: 135 kB / 1.601 GB, free: 7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007656/1.034, allocations: 5.728 MB / 1.607 GB, free: 1.258 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.035, allocations: 4.188 kB / 1.607 GB, free: 1.254 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005792/1.04, allocations: 3.379 MB / 1.61 GB, free: 13.85 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/1.041, allocations: 162.5 kB / 1.61 GB, free: 13.69 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/1.048, allocations: 4.379 MB / 1.615 GB, free: 9.211 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.05, allocations: 1.912 MB / 1.617 GB, free: 7.266 MB / 1.026 GB Notification: Performance of SimCode: time 6.62e-07/1.05, allocations: 0 / 1.617 GB, free: 7.266 MB / 1.026 GB Notification: Performance of Templates: time 0.06335/1.113, allocations: 58.28 MB / 1.673 GB, free: 13.03 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches