Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001545/0.001545, allocations: 182.8 kB / 0.4902 GB, free: 2.234 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.716/1.716, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0008406/0.0008406, allocations: 103.9 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.000389, allocations: 17.5 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9276/1.239, allocations: 219.4 MB / 1.444 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.239, allocations: 102.5 kB / 1.444 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.277/1.516, allocations: 124.3 MB / 1.565 GB, free: 80.04 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.274e-06/1.516, allocations: 0 / 1.565 GB, free: 80.04 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001769/1.516, allocations: 36 kB / 1.565 GB, free: 80 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005557/1.522, allocations: 1.84 MB / 1.567 GB, free: 78.11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.522, allocations: 8.562 kB / 1.567 GB, free: 78.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/1.532, allocations: 1.882 MB / 1.569 GB, free: 76.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/1.536, allocations: 1.231 MB / 1.57 GB, free: 74.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/1.537, allocations: 90.36 kB / 1.57 GB, free: 74.83 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008206/1.537, allocations: 116 kB / 1.57 GB, free: 74.72 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007093/1.545, allocations: 2.736 MB / 1.573 GB, free: 71.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.835e-05/1.545, allocations: 8 kB / 1.573 GB, free: 71.79 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/1.545, allocations: 63.88 kB / 1.573 GB, free: 71.72 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.805e-05/1.545, allocations: 90.22 kB / 1.573 GB, free: 71.63 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007018/1.552, allocations: 2.846 MB / 1.576 GB, free: 68.78 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/1.568, allocations: 10.71 MB / 1.586 GB, free: 57.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006199/1.574, allocations: 2.594 MB / 1.589 GB, free: 54.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/1.574, allocations: 12.98 kB / 1.589 GB, free: 54.81 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.574, allocations: 47.56 kB / 1.589 GB, free: 54.76 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=89): time 3.797e-06/1.574, allocations: 0 / 1.589 GB, free: 54.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.04745/1.622, allocations: 13.99 MB / 1.602 GB, free: 40.55 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/1.622, allocations: 222.9 kB / 1.603 GB, free: 40.29 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/1.624, allocations: 0.9735 MB / 1.604 GB, free: 39.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002601/1.624, allocations: 49.7 kB / 1.604 GB, free: 39.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/1.624, allocations: 0.704 MB / 1.604 GB, free: 38.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/1.625, allocations: 457.4 kB / 1.605 GB, free: 38.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.625, allocations: 24 kB / 1.605 GB, free: 38.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.625, allocations: 357.9 kB / 1.605 GB, free: 37.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/1.628, allocations: 1.361 MB / 1.606 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/1.631, allocations: 1.634 MB / 1.608 GB, free: 34.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/1.635, allocations: 1.466 MB / 1.609 GB, free: 33.14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/1.635, allocations: 4 kB / 1.609 GB, free: 33.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01235/1.647, allocations: 4.556 MB / 1.614 GB, free: 28.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/1.647, allocations: 9.531 kB / 1.614 GB, free: 28.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.647, allocations: 8 kB / 1.614 GB, free: 28.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006561/1.654, allocations: 1.611 MB / 1.615 GB, free: 26.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/1.656, allocations: 447.2 kB / 1.616 GB, free: 26.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.678, allocations: 25.33 MB / 1.641 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.681, allocations: 327.5 kB / 1.641 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/1.681, allocations: 59.95 kB / 1.641 GB, free: 14.98 MB / 0.9323 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001428/1.682, allocations: 437.4 kB / 1.641 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/1.683, allocations: 166.1 kB / 1.642 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.696, allocations: 4.59 MB / 1.646 GB, free: 9.73 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/1.696, allocations: 15.95 kB / 1.646 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.946e-05/1.696, allocations: 12 kB / 1.646 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/1.696, allocations: 7.969 kB / 1.646 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.714, allocations: 7.013 MB / 1.653 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.714, allocations: 7.891 kB / 1.653 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.716, allocations: 395.6 kB / 1.653 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00649/1.722, allocations: 1.51 MB / 1.655 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/1.723, allocations: 43.95 kB / 1.655 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/1.749, allocations: 24.36 MB / 1.679 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.749, allocations: 4.25 kB / 1.679 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.762, allocations: 4.52 MB / 1.683 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.763, allocations: 467 kB / 1.684 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005548/1.764, allocations: 24 kB / 1.684 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.766, allocations: 327.5 kB / 1.684 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/1.767, allocations: 120.7 kB / 1.684 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.767, allocations: 51.95 kB / 1.684 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001597/1.768, allocations: 0.7526 MB / 1.685 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.475e-06/1.768, allocations: 4 kB / 1.685 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003289/1.772, allocations: 0.6093 MB / 1.685 GB, free: 15.38 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005171/1.772, allocations: 164 kB / 1.686 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.784, allocations: 5.177 MB / 1.691 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.784, allocations: 0 / 1.691 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007288/1.791, allocations: 3.558 MB / 1.694 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/1.794, allocations: 0.4953 MB / 1.695 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009935/1.804, allocations: 4.528 MB / 1.699 GB, free: 1.059 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/1.806, allocations: 1.505 MB / 1.7 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00206/1.808, allocations: 425.4 kB / 1.701 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/1.809, allocations: 111.4 kB / 1.701 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of SimCode: time 1.904e-06/1.809, allocations: 0 / 1.701 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of Templates: time 0.06642/1.875, allocations: 37.66 MB / 1.738 GB, free: 9.742 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches