Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.317/2.317, allocations: 393.5 MB / 408.4 MB, free: 11 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.001248/0.001248, allocations: 182.5 kB / 0.4902 GB, free: 2.23 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.532/1.532, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.00105/0.00105, allocations: 113 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 10.28 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.5524, allocations: 176 MB / 1.401 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5527, allocations: 103.9 kB / 1.401 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8859/1.439, allocations: 55.83 MB / 1.456 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.765e-06/1.439, allocations: 5.062 kB / 1.456 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001147/1.439, allocations: 21.16 kB / 1.456 GB, free: 178.9 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003465/1.442, allocations: 1.065 MB / 1.457 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/1.442, allocations: 9.625 kB / 1.457 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/1.445, allocations: 237.7 kB / 1.457 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/1.446, allocations: 0.5343 MB / 1.458 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.447, allocations: 51.41 kB / 1.458 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/1.447, allocations: 71.16 kB / 1.458 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/1.45, allocations: 1.131 MB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.663e-05/1.45, allocations: 6.594 kB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/1.45, allocations: 33.94 kB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/1.45, allocations: 58.06 kB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.452, allocations: 0.7469 MB / 1.46 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005763/1.457, allocations: 5.911 MB / 1.465 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.459, allocations: 0.5556 MB / 1.466 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/1.459, allocations: 7.375 kB / 1.466 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.459, allocations: 41.45 kB / 1.466 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=47): time 5.501e-06/1.459, allocations: 0 / 1.466 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.004262/1.463, allocations: 1.978 MB / 1.468 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.463, allocations: 55.25 kB / 1.468 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/1.464, allocations: 0.4963 MB / 1.468 GB, free: 171 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/1.464, allocations: 33.52 kB / 1.468 GB, free: 171 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/1.464, allocations: 412.7 kB / 1.469 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.464, allocations: 165.1 kB / 1.469 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/1.464, allocations: 11.91 kB / 1.469 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.464, allocations: 382.4 kB / 1.469 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/1.465, allocations: 266.2 kB / 1.47 GB, free: 170 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/1.465, allocations: 453.6 kB / 1.47 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/1.465, allocations: 343.5 kB / 1.47 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.466, allocations: 3.969 kB / 1.47 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001688/1.467, allocations: 1.056 MB / 1.471 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.467, allocations: 7 kB / 1.471 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.467, allocations: 7.562 kB / 1.471 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008225/1.468, allocations: 278.2 kB / 1.472 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/1.469, allocations: 124.8 kB / 1.472 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/1.474, allocations: 6.711 MB / 1.478 GB, free: 162.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/1.474, allocations: 34.94 kB / 1.478 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/1.474, allocations: 35.62 kB / 1.478 GB, free: 162.4 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004295/1.475, allocations: 252 kB / 1.479 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.475, allocations: 70.06 kB / 1.479 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/1.476, allocations: 0.8911 MB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.476, allocations: 2.781 kB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.476, allocations: 3.375 kB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.476, allocations: 3.984 kB / 1.48 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/1.479, allocations: 1.721 MB / 1.481 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.479, allocations: 7.625 kB / 1.481 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/1.479, allocations: 53.67 kB / 1.481 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/1.48, allocations: 273.3 kB / 1.482 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/1.48, allocations: 7.938 kB / 1.482 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/1.485, allocations: 6.695 MB / 1.488 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.485, allocations: 0 / 1.488 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/1.487, allocations: 1.049 MB / 1.489 GB, free: 153.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/1.487, allocations: 194.7 kB / 1.489 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/1.487, allocations: 15.92 kB / 1.489 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/1.488, allocations: 23.75 kB / 1.489 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.488, allocations: 51.12 kB / 1.489 GB, free: 153.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/1.488, allocations: 19.44 kB / 1.489 GB, free: 153.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006437/1.489, allocations: 383.8 kB / 1.49 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/1.489, allocations: 0 / 1.49 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001455/1.49, allocations: 230.2 kB / 1.49 GB, free: 152.9 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/1.491, allocations: 125.4 kB / 1.49 GB, free: 152.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002303/1.493, allocations: 1.257 MB / 1.491 GB, free: 151.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.493, allocations: 4 kB / 1.491 GB, free: 151.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/1.494, allocations: 0.8893 MB / 1.492 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/1.496, allocations: 194.3 kB / 1.492 GB, free: 150.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/1.498, allocations: 1.586 MB / 1.494 GB, free: 148.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/1.499, allocations: 1.04 MB / 1.495 GB, free: 147.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000496/1.499, allocations: 118.2 kB / 1.495 GB, free: 147.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.499, allocations: 43.44 kB / 1.495 GB, free: 147.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/1.499, allocations: 0 / 1.495 GB, free: 147.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.01709/1.517, allocations: 10.32 MB / 1.505 GB, free: 137.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches