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.327/2.327, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001096/0.001096, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0008899/0.00089, allocations: 107.6 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.826e-05, allocations: 6.031 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3478, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.468, allocations: 176.7 MB / 1.391 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.469, allocations: 99.92 kB / 1.391 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.131/1.6, allocations: 55.84 MB / 1.446 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.924e-06/1.6, allocations: 0 / 1.446 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.984e-05/1.6, allocations: 23.94 kB / 1.446 GB, free: 9.676 MB / 0.9011 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.001583/1.601, allocations: 0.8846 MB / 1.447 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.602, allocations: 8.031 kB / 1.447 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/1.603, allocations: 214.8 kB / 1.447 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.604, allocations: 0.5482 MB / 1.448 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.604, allocations: 49.3 kB / 1.448 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.604, allocations: 63.91 kB / 1.448 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/1.606, allocations: 1.079 MB / 1.449 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/1.606, allocations: 7.938 kB / 1.449 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/1.606, allocations: 28 kB / 1.449 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.223e-05/1.606, allocations: 57.28 kB / 1.449 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.607, allocations: 0.6763 MB / 1.449 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00552/1.613, allocations: 5.787 MB / 1.455 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/1.613, allocations: 0.5876 MB / 1.456 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/1.614, allocations: 393.4 kB / 1.456 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/1.614, allocations: 4 kB / 1.456 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/1.614, allocations: 42.34 kB / 1.456 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=41): time 3.076e-06/1.614, allocations: 0 / 1.456 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.002458/1.617, allocations: 1.208 MB / 1.457 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.617, allocations: 63.39 kB / 1.457 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/1.617, allocations: 392.7 kB / 1.458 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/1.617, allocations: 33.7 kB / 1.458 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.618, allocations: 379.2 kB / 1.458 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/1.618, allocations: 149.8 kB / 1.458 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/1.618, allocations: 20 kB / 1.458 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.618, allocations: 358.8 kB / 1.459 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/1.618, allocations: 233 kB / 1.459 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/1.619, allocations: 421.4 kB / 1.459 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/1.619, allocations: 299.7 kB / 1.46 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.619, allocations: 4 kB / 1.46 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00174/1.621, allocations: 1.019 MB / 1.461 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.621, allocations: 8 kB / 1.461 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.621, allocations: 8 kB / 1.461 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009761/1.622, allocations: 319.8 kB / 1.461 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/1.622, allocations: 99.77 kB / 1.461 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007052/1.629, allocations: 7.082 MB / 1.468 GB, free: 1.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/1.63, allocations: 31.97 kB / 1.468 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.63, allocations: 24 kB / 1.468 GB, free: 1.707 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 () * 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.0001544/1.63, allocations: 141.5 kB / 1.468 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/1.63, allocations: 63.25 kB / 1.468 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/1.632, allocations: 0.8805 MB / 1.469 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.632, allocations: 4 kB / 1.469 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.632, allocations: 4 kB / 1.469 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.632, allocations: 3.984 kB / 1.469 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/1.635, allocations: 1.855 MB / 1.471 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.636, allocations: 8.188 kB / 1.471 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/1.636, allocations: 47.91 kB / 1.471 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008871/1.637, allocations: 275.2 kB / 1.471 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/1.637, allocations: 8 kB / 1.471 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007653/1.644, allocations: 6.825 MB / 1.478 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.644, allocations: 4.031 kB / 1.478 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/1.646, allocations: 1.005 MB / 1.479 GB, free: 5.793 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/1.647, allocations: 172.4 kB / 1.479 GB, free: 5.605 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/1.647, allocations: 8 kB / 1.479 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/1.647, allocations: 23.97 kB / 1.479 GB, free: 5.574 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.647, allocations: 43.89 kB / 1.479 GB, free: 5.531 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/1.647, allocations: 12 kB / 1.479 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004044/1.648, allocations: 305.8 kB / 1.479 GB, free: 5.223 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/1.648, allocations: 0 / 1.479 GB, free: 5.223 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009389/1.648, allocations: 207.8 kB / 1.479 GB, free: 5.02 MB / 0.9323 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.0002147/1.649, allocations: 115.2 kB / 1.48 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.651, allocations: 1.148 MB / 1.481 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.651, allocations: 0 / 1.481 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/1.652, allocations: 0.819 MB / 1.482 GB, free: 2.82 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/1.653, allocations: 177.1 kB / 1.482 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.654, allocations: 0.8913 MB / 1.483 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/1.655, allocations: 1.004 MB / 1.484 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003066/1.655, allocations: 101 kB / 1.484 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/1.655, allocations: 35.44 kB / 1.484 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of SimCode: time 6.32e-07/1.655, allocations: 0 / 1.484 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of Templates: time 0.01526/1.671, allocations: 8.755 MB / 1.492 GB, free: 7.883 MB / 0.948 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