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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 390.6 MB / 398 MB, free: 10.94 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.001139/0.001139, allocations: 183.7 kB / 491.2 MB, free: 1.559 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.53/1.53, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001189/0.001188, allocations: 82.03 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.738e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3278, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.453, allocations: 176 MB / 1.384 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.454, allocations: 95.47 kB / 1.384 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1274/1.581, allocations: 55.66 MB / 1.439 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.784e-06/1.581, allocations: 4 kB / 1.439 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.363e-05/1.581, allocations: 20 kB / 1.439 GB, free: 9.293 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.002604/1.584, allocations: 0.8772 MB / 1.44 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.584, allocations: 12.03 kB / 1.44 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/1.586, allocations: 218.1 kB / 1.44 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/1.587, allocations: 0.5496 MB / 1.44 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/1.587, allocations: 20 kB / 1.44 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/1.588, allocations: 43.12 kB / 1.44 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/1.589, allocations: 0.5407 MB / 1.441 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/1.59, allocations: 0.9903 MB / 1.442 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/1.59, allocations: 7.938 kB / 1.442 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/1.59, allocations: 8 kB / 1.442 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-05/1.591, allocations: 56.59 kB / 1.442 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005716/1.596, allocations: 5.637 MB / 1.447 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/1.597, allocations: 0.5841 MB / 1.448 GB, free: 252 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/1.598, allocations: 379.1 kB / 1.448 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/1.598, allocations: 8.625 kB / 1.448 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.598, allocations: 41.81 kB / 1.448 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 3.396e-06/1.598, allocations: 0 / 1.448 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.002383/1.6, allocations: 1.159 MB / 1.45 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/1.6, allocations: 55.41 kB / 1.45 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/1.601, allocations: 334.2 kB / 1.45 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.601, allocations: 29.64 kB / 1.45 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/1.601, allocations: 378.9 kB / 1.45 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/1.601, allocations: 149.9 kB / 1.45 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/1.601, allocations: 4 kB / 1.45 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.602, allocations: 357.1 kB / 1.451 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/1.602, allocations: 223.5 kB / 1.451 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/1.602, allocations: 402.7 kB / 1.451 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/1.603, allocations: 287.7 kB / 1.452 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/1.603, allocations: 4 kB / 1.452 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001644/1.604, allocations: 0.9321 MB / 1.453 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.604, allocations: 8 kB / 1.453 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.604, allocations: 15.94 kB / 1.453 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/1.605, allocations: 308.3 kB / 1.453 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/1.606, allocations: 91.12 kB / 1.453 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006654/1.612, allocations: 6.825 MB / 1.46 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/1.613, allocations: 19.97 kB / 1.46 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1.613, allocations: 27.44 kB / 1.46 GB, free: 5.457 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/1.613, allocations: 124.7 kB / 1.46 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/1.613, allocations: 55.34 kB / 1.46 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/1.615, allocations: 0.8488 MB / 1.461 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.615, allocations: 4 kB / 1.461 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.615, allocations: 4 kB / 1.461 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.615, allocations: 7.984 kB / 1.461 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/1.618, allocations: 1.715 MB / 1.462 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.618, allocations: 128 / 1.462 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.618, allocations: 47.91 kB / 1.462 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008064/1.619, allocations: 275.1 kB / 1.463 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/1.619, allocations: 0 / 1.463 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006246/1.625, allocations: 6.566 MB / 1.469 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.625, allocations: 0 / 1.469 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/1.627, allocations: 0.9599 MB / 1.47 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/1.627, allocations: 167 kB / 1.47 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/1.628, allocations: 4 kB / 1.47 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/1.628, allocations: 15.97 kB / 1.47 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/1.628, allocations: 39.64 kB / 1.47 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/1.628, allocations: 11.95 kB / 1.47 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000336/1.628, allocations: 251 kB / 1.47 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/1.628, allocations: 0 / 1.47 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001027/1.629, allocations: 176 kB / 1.471 GB, free: 11.06 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002277/1.63, allocations: 122.5 kB / 1.471 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.631, allocations: 1.083 MB / 1.472 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.631, allocations: 0 / 1.472 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.633, allocations: 0.7878 MB / 1.473 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/1.634, allocations: 161.7 kB / 1.473 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/1.635, allocations: 0.8665 MB / 1.474 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008824/1.636, allocations: 1.012 MB / 1.475 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003956/1.637, allocations: 96.95 kB / 1.475 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/1.637, allocations: 39.38 kB / 1.475 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of SimCode: time 7.41e-07/1.637, allocations: 0 / 1.475 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of Templates: time 0.0173/1.654, allocations: 8.122 MB / 1.483 GB, free: 15.17 MB / 0.9011 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