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/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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008128/0.008128, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001436/0.001436, allocations: 192.1 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001193, allocations: 71.88 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009385/0.3577, allocations: 6.81 MB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005299/0.363, allocations: 3.067 MB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.3637, allocations: 23.88 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.3664, allocations: 0.951 MB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3678, allocations: 0.5011 MB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.369, allocations: 452.2 kB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3709, allocations: 1.236 MB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.372, allocations: 0.6622 MB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.3728, allocations: 478.3 kB / 1.222 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009928/0.3738, allocations: 0.5214 MB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.374, allocations: 64 kB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008769/0.3749, allocations: 379.3 kB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.3753, allocations: 315.2 kB / 1.223 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.376, allocations: 453.7 kB / 1.223 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.3778, allocations: 1.219 MB / 1.224 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3778, allocations: 0 / 1.224 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3778, allocations: 0 / 1.224 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.468e-05/0.3779, allocations: 0 / 1.224 GB, free: 8.465 MB / 0.9825 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.002629/0.3805, allocations: 1.18 MB / 1.226 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3805, allocations: 8.625 kB / 1.226 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.3823, allocations: 227.6 kB / 1.226 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3836, allocations: 0.6076 MB / 1.226 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.3836, allocations: 53.67 kB / 1.226 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.3837, allocations: 60.36 kB / 1.226 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.3855, allocations: 1.081 MB / 1.228 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.45e-05/0.3856, allocations: 7.938 kB / 1.228 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.3857, allocations: 31.98 kB / 1.228 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.3858, allocations: 85.25 kB / 1.228 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3871, allocations: 0.7543 MB / 1.228 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006884/0.394, allocations: 5.87 MB / 1.234 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3951, allocations: 0.557 MB / 1.235 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.3956, allocations: 331.9 kB / 1.235 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.3956, allocations: 12.31 kB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3957, allocations: 39 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.474e-06/0.3957, allocations: 0 / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003979/0.3997, allocations: 1.99 MB / 1.237 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3998, allocations: 55.84 kB / 1.237 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.4005, allocations: 0.5548 MB / 1.238 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.4005, allocations: 41.7 kB / 1.238 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.4008, allocations: 414.9 kB / 1.238 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.401, allocations: 169.6 kB / 1.238 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4012, allocations: 134.4 kB / 1.238 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4013, allocations: 374.7 kB / 1.239 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.4018, allocations: 277.8 kB / 1.239 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.4025, allocations: 493 kB / 1.239 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.4037, allocations: 0.8132 MB / 1.24 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4037, allocations: 3.938 kB / 1.24 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001891/0.4056, allocations: 1.083 MB / 1.241 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4056, allocations: 13.72 kB / 1.241 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4056, allocations: 8 kB / 1.241 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008558/0.4065, allocations: 283.1 kB / 1.242 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.4069, allocations: 123.8 kB / 1.242 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.599/1.006, allocations: 7.122 MB / 1.249 GB, free: 36.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/1.007, allocations: 39 kB / 1.249 GB, free: 36.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/1.007, allocations: 30.62 kB / 1.249 GB, free: 36.55 MB / 0.9981 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004601/1.007, allocations: 250.9 kB / 1.249 GB, free: 36.44 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.008, allocations: 72.84 kB / 1.249 GB, free: 36.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/1.009, allocations: 0.8891 MB / 1.25 GB, free: 36.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.009, allocations: 5.656 kB / 1.25 GB, free: 36.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.009, allocations: 4.656 kB / 1.25 GB, free: 36.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.009, allocations: 2.625 kB / 1.25 GB, free: 36.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/1.012, allocations: 1.736 MB / 1.252 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.012, allocations: 6.031 kB / 1.252 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/1.012, allocations: 57.31 kB / 1.252 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006924/1.013, allocations: 273.5 kB / 1.252 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/1.013, allocations: 6.656 kB / 1.252 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/1.018, allocations: 7.133 MB / 1.259 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.018, allocations: 7.281 kB / 1.259 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/1.019, allocations: 0.9772 MB / 1.26 GB, free: 30.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/1.019, allocations: 195.1 kB / 1.26 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/1.019, allocations: 14.09 kB / 1.26 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.02, allocations: 24.34 kB / 1.26 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.02, allocations: 53.45 kB / 1.26 GB, free: 30.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/1.02, allocations: 15.47 kB / 1.26 GB, free: 30.17 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003972/1.02, allocations: 394.4 kB / 1.26 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.02, allocations: 0 / 1.26 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007589/1.021, allocations: 222.4 kB / 1.261 GB, free: 30.07 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/1.021, allocations: 118.7 kB / 1.261 GB, free: 29.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001601/1.023, allocations: 1.269 MB / 1.262 GB, free: 29.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.023, allocations: 0 / 1.262 GB, free: 29.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/1.024, allocations: 0.8925 MB / 1.263 GB, free: 29.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/1.025, allocations: 223.1 kB / 1.263 GB, free: 29.01 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/1.027, allocations: 1.321 MB / 1.264 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/1.027, allocations: 1.012 MB / 1.265 GB, free: 27.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004278/1.028, allocations: 123.1 kB / 1.266 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.028, allocations: 46.86 kB / 1.266 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of SimCode: time 5.82e-07/1.028, allocations: 0 / 1.266 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of Templates: time 0.02487/1.053, allocations: 11.31 MB / 1.277 GB, free: 27.14 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches