Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002054/0.002054, allocations: 194.5 kB / 16.26 MB, free: 6.625 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.805/2.805, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 0.8688 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6822/0.6843, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04329/0.7276, allocations: 34.54 MB / 1.051 GB, free: 64 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.7494, allocations: 11.39 MB / 1.062 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.7539, allocations: 143.2 kB / 1.062 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.7662, allocations: 4.005 MB / 1.066 GB, free: 496 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007946/0.7742, allocations: 1.828 MB / 1.068 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007908/0.7822, allocations: 2.186 MB / 1.07 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01649/0.7987, allocations: 8.483 MB / 1.078 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02285/0.8216, allocations: 13.43 MB / 1.091 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007831/0.8295, allocations: 3.797 MB / 1.095 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008784/0.8383, allocations: 4.389 MB / 1.099 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002807/0.8411, allocations: 0.7812 MB / 1.1 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005921/0.8471, allocations: 2.024 MB / 1.102 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00526/0.8524, allocations: 3.057 MB / 1.105 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007354/0.8597, allocations: 3.396 MB / 1.108 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.8781, allocations: 12.02 MB / 1.12 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.8782, allocations: 0 / 1.12 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8782, allocations: 0 / 1.12 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000451/0.8787, allocations: 4 kB / 1.12 GB, free: 8.867 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01797/0.8967, allocations: 5.791 MB / 1.125 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.8967, allocations: 12.03 kB / 1.125 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007072/0.9038, allocations: 1.063 MB / 1.127 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009862/0.9137, allocations: 3.251 MB / 1.13 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006683/0.9144, allocations: 419.5 kB / 1.13 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/0.9172, allocations: 0.5431 MB / 1.131 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/0.9426, allocations: 9.075 MB / 1.139 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/0.943, allocations: 23.78 kB / 1.14 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/0.9451, allocations: 247.9 kB / 1.14 GB, free: 4 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004811/0.9456, allocations: 350.8 kB / 1.14 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.9614, allocations: 6.826 MB / 1.147 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05678/1.018, allocations: 40.11 MB / 1.186 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004589/1.023, allocations: 3.106 MB / 1.189 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003113/1.026, allocations: 1.97 MB / 1.191 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/1.026, allocations: 18 kB / 1.191 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/1.026, allocations: 56.56 kB / 1.191 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 5.24e-06/1.026, allocations: 4 kB / 1.191 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02816/1.054, allocations: 9.977 MB / 1.201 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.055, allocations: 69.41 kB / 1.201 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/1.058, allocations: 1.526 MB / 1.202 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.058, allocations: 49.7 kB / 1.202 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/1.06, allocations: 2.257 MB / 1.205 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008456/1.061, allocations: 0.6238 MB / 1.205 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008886/1.062, allocations: 419.9 kB / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.062, allocations: 305.1 kB / 1.206 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/1.064, allocations: 1.172 MB / 1.207 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/1.066, allocations: 1.889 MB / 1.209 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/1.071, allocations: 3.371 MB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/1.072, allocations: 8 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009409/1.081, allocations: 4.581 MB / 1.217 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/1.081, allocations: 12 kB / 1.217 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/1.081, allocations: 27.98 kB / 1.217 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004237/1.085, allocations: 1.577 MB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.087, allocations: 355.3 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/1.115, allocations: 18.62 MB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/1.117, allocations: 111.9 kB / 1.237 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/1.118, allocations: 104 kB / 1.237 GB, free: 11.22 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00408/1.122, allocations: 1.889 MB / 1.239 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/1.123, allocations: 229.4 kB / 1.239 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/1.131, allocations: 4.09 MB / 1.243 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/1.131, allocations: 16 kB / 1.243 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-05/1.131, allocations: 16 kB / 1.243 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.131, allocations: 15.95 kB / 1.243 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6841/1.815, allocations: 9.465 MB / 1.252 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/1.815, allocations: 4.594 kB / 1.252 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.816, allocations: 182.5 kB / 1.252 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/1.821, allocations: 1.362 MB / 1.254 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003098/1.822, allocations: 36.2 kB / 1.254 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02496/1.847, allocations: 17.36 MB / 1.271 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.847, allocations: 9.078 kB / 1.271 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008642/1.855, allocations: 4.073 MB / 1.275 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.858, allocations: 0.526 MB / 1.275 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/1.858, allocations: 37.91 kB / 1.275 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.859, allocations: 89.48 kB / 1.275 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008331/1.86, allocations: 160.8 kB / 1.275 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.86, allocations: 47.78 kB / 1.276 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001939/1.862, allocations: 1.001 MB / 1.277 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.862, allocations: 0 / 1.277 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00437/1.867, allocations: 0.9865 MB / 1.277 GB, free: 196.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003494/1.867, allocations: 158.3 kB / 1.278 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007821/1.875, allocations: 5.191 MB / 1.283 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.875, allocations: 0.8125 kB / 1.283 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004174/1.879, allocations: 2.671 MB / 1.285 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/1.883, allocations: 0.7797 MB / 1.286 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.901, allocations: 11.01 MB / 1.297 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004284/1.906, allocations: 3.58 MB / 1.3 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001734/1.907, allocations: 466.2 kB / 1.301 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/1.908, allocations: 115.4 kB / 1.301 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.908, allocations: 0 / 1.301 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.07341/1.981, allocations: 44.21 MB / 1.344 GB, free: 139.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches