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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005002, allocations: 8 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9074/0.908, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00608/0.9141, allocations: 5.262 MB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.9185, allocations: 2.983 MB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.9189, allocations: 35.75 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.9193, allocations: 111.2 kB / 1.029 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008579/0.9201, allocations: 346.9 kB / 1.029 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.9212, allocations: 375.1 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.922, allocations: 0.6608 MB / 1.03 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.9235, allocations: 0.9039 MB / 1.031 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.924, allocations: 330.8 kB / 1.032 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.9245, allocations: 350.6 kB / 1.032 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.9246, allocations: 32 kB / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.9251, allocations: 203.6 kB / 1.032 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.9253, allocations: 235.3 kB / 1.032 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.9255, allocations: 157.3 kB / 1.032 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008195/0.9263, allocations: 0.8356 MB / 1.033 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.9263, allocations: 0 / 1.033 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9263, allocations: 0 / 1.033 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9263, allocations: 0 / 1.033 GB, free: 4.23 MB / 0.7794 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.001371/0.9277, allocations: 0.9154 MB / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.9278, allocations: 11.98 kB / 1.034 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.929, allocations: 206.8 kB / 1.034 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008275/0.9298, allocations: 0.521 MB / 1.035 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.9299, allocations: 61.19 kB / 1.035 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.93, allocations: 63.89 kB / 1.035 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.9313, allocations: 1.01 MB / 1.036 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.9313, allocations: 11.92 kB / 1.036 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.9314, allocations: 35.98 kB / 1.036 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-05/0.9315, allocations: 65.28 kB / 1.036 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009403/0.9325, allocations: 0.684 MB / 1.037 GB, free: 460 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.9371, allocations: 5.772 MB / 1.042 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.9379, allocations: 0.5947 MB / 1.043 GB, free: 9.617 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.938, allocations: 4 kB / 1.043 GB, free: 9.613 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.938, allocations: 38.56 kB / 1.043 GB, free: 9.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 1.704e-06/0.938, allocations: 7.938 kB / 1.043 GB, free: 9.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.003675/0.9417, allocations: 1.889 MB / 1.045 GB, free: 7.574 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.9418, allocations: 63.36 kB / 1.045 GB, free: 7.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.9422, allocations: 462.7 kB / 1.045 GB, free: 7.035 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.9423, allocations: 37.7 kB / 1.045 GB, free: 6.992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.9425, allocations: 383.1 kB / 1.046 GB, free: 6.613 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.9426, allocations: 153.8 kB / 1.046 GB, free: 6.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.9427, allocations: 12 kB / 1.046 GB, free: 6.449 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9428, allocations: 366.8 kB / 1.046 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.9431, allocations: 233.2 kB / 1.047 GB, free: 5.855 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.9436, allocations: 433 kB / 1.047 GB, free: 5.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.9439, allocations: 299.8 kB / 1.047 GB, free: 5.043 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.944, allocations: 0 / 1.047 GB, free: 5.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001555/0.9455, allocations: 0.9836 MB / 1.048 GB, free: 4.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9455, allocations: 8 kB / 1.048 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.9456, allocations: 8 kB / 1.048 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008714/0.9464, allocations: 267.7 kB / 1.048 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.9468, allocations: 103.8 kB / 1.049 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006247/0.9531, allocations: 6.755 MB / 1.055 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.9536, allocations: 36.03 kB / 1.055 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.9536, allocations: 24 kB / 1.055 GB, free: 12.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004025/0.9541, allocations: 243 kB / 1.055 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.9542, allocations: 55.34 kB / 1.055 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.9556, allocations: 0.8302 MB / 1.056 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9557, allocations: 4 kB / 1.056 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9557, allocations: 4 kB / 1.056 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.9557, allocations: 3.984 kB / 1.056 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.9582, allocations: 1.707 MB / 1.058 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9582, allocations: 0 / 1.058 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.9584, allocations: 55.89 kB / 1.058 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007411/0.9592, allocations: 243.3 kB / 1.058 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.9592, allocations: 12 kB / 1.058 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.9646, allocations: 6.467 MB / 1.065 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.9646, allocations: 8 kB / 1.065 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.9661, allocations: 0.9586 MB / 1.066 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.9664, allocations: 172.3 kB / 1.066 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.9664, allocations: 15.98 kB / 1.066 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.9667, allocations: 15.98 kB / 1.066 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.9668, allocations: 43.95 kB / 1.066 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.9668, allocations: 11.98 kB / 1.066 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000312/0.9672, allocations: 314.7 kB / 1.066 GB, free: 376 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9672, allocations: 0 / 1.066 GB, free: 376 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008433/0.968, allocations: 188 kB / 1.066 GB, free: 188 kB / 0.8106 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 (27): * Single equations (assignments): 23 * 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,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.9682, allocations: 115.2 kB / 1.066 GB, free: 64 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.9699, allocations: 1.136 MB / 1.067 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9699, allocations: 0 / 1.067 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.9709, allocations: 0.8003 MB / 1.068 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/0.9717, allocations: 186.6 kB / 1.068 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.9736, allocations: 1.459 MB / 1.07 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.9742, allocations: 1.008 MB / 1.071 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002962/0.9745, allocations: 113.4 kB / 1.071 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.9745, allocations: 35.44 kB / 1.071 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of SimCode: time 6.42e-07/0.9746, allocations: 0 / 1.071 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.01425/0.9888, allocations: 8.643 MB / 1.079 GB, free: 2.602 MB / 0.8262 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