Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [: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.709/1.709, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009323/0.0009324, allocations: 193.2 kB / 490.8 MB, free: 1.934 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.068/1.068, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0008188/0.0008186, allocations: 95.97 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.061e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1657, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.6331, allocations: 175.9 MB / 1.383 GB, free: 16.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.6333, allocations: 98.64 kB / 1.383 GB, free: 16.96 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1029/0.7363, allocations: 55.23 MB / 1.437 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.46e-05/0.7363, allocations: 21.25 kB / 1.437 GB, free: 10.48 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001134/0.7375, allocations: 0.8967 MB / 1.438 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.7375, allocations: 8.031 kB / 1.438 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.7389, allocations: 214.8 kB / 1.439 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/0.7397, allocations: 0.5465 MB / 1.439 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.7397, allocations: 24 kB / 1.439 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.7398, allocations: 39.91 kB / 1.439 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007442/0.7406, allocations: 0.5676 MB / 1.44 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7417, allocations: 1.003 MB / 1.441 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.7417, allocations: 7.938 kB / 1.441 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.7418, allocations: 4 kB / 1.441 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.7418, allocations: 60.14 kB / 1.441 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.7458, allocations: 5.677 MB / 1.446 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.7462, allocations: 392.8 kB / 1.447 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.7465, allocations: 307.6 kB / 1.447 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.7465, allocations: 4.688 kB / 1.447 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.7466, allocations: 45.89 kB / 1.447 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.7466, allocations: 0 / 1.447 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.001809/0.7484, allocations: 1.127 MB / 1.448 GB, free: 424 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.7484, allocations: 55.41 kB / 1.448 GB, free: 356 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.7487, allocations: 334 kB / 1.448 GB, free: 80 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.7488, allocations: 25.7 kB / 1.448 GB, free: 48 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.7489, allocations: 334.2 kB / 1.449 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.749, allocations: 143.8 kB / 1.449 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.749, allocations: 0 / 1.449 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7491, allocations: 359.4 kB / 1.449 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.7494, allocations: 224.3 kB / 1.449 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.7497, allocations: 407.3 kB / 1.45 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.7501, allocations: 290.1 kB / 1.45 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7501, allocations: 3.906 kB / 1.45 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001414/0.7515, allocations: 0.9155 MB / 1.451 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.7515, allocations: 4 kB / 1.451 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.7515, allocations: 15.94 kB / 1.451 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/0.7524, allocations: 276.1 kB / 1.451 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.7527, allocations: 91.77 kB / 1.451 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.7576, allocations: 6.223 MB / 1.457 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.7579, allocations: 11.98 kB / 1.457 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.758, allocations: 27.19 kB / 1.458 GB, free: 7.293 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.7581, allocations: 124.7 kB / 1.458 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.7582, allocations: 55.34 kB / 1.458 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.7595, allocations: 0.8133 MB / 1.458 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7595, allocations: 11.91 kB / 1.458 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7595, allocations: 0 / 1.458 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7595, allocations: 4 kB / 1.458 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.7616, allocations: 1.526 MB / 1.46 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7616, allocations: 0 / 1.46 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.7618, allocations: 44.16 kB / 1.46 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007749/0.7626, allocations: 272.7 kB / 1.46 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.7626, allocations: 3.984 kB / 1.46 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.7674, allocations: 6.196 MB / 1.466 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7674, allocations: 0 / 1.466 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001325/0.7687, allocations: 0.9891 MB / 1.467 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.7689, allocations: 167.3 kB / 1.467 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.769, allocations: 11.92 kB / 1.467 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.7693, allocations: 4 kB / 1.467 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.7693, allocations: 31.52 kB / 1.468 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.7693, allocations: 11.5 kB / 1.468 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002029/0.7695, allocations: 249.5 kB / 1.468 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005506/0.7701, allocations: 172 kB / 1.468 GB, free: 13.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.7702, allocations: 118.3 kB / 1.468 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.7716, allocations: 1.055 MB / 1.469 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7716, allocations: 0 / 1.469 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009551/0.7726, allocations: 0.7628 MB / 1.47 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.7733, allocations: 171 kB / 1.47 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.7747, allocations: 0.9087 MB / 1.471 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.7752, allocations: 1.035 MB / 1.472 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.7753, allocations: 0 / 1.472 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of Templates: time 0.0128/0.7881, allocations: 8.723 MB / 1.48 GB, free: 0.9766 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches