Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001481, allocations: 102.2 kB / 15.98 MB, free: 6.352 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.00147/0.00147, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.523/2.523, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 74.86 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.486/0.7899, allocations: 33.02 MB / 1.096 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.8114, allocations: 14.67 MB / 1.111 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.8157, allocations: 146.3 kB / 1.111 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009505/0.8253, allocations: 3.408 MB / 1.114 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009584/0.8349, allocations: 2.67 MB / 1.117 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007187/0.8421, allocations: 2.131 MB / 1.119 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0138/0.8559, allocations: 8.835 MB / 1.128 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02156/0.8775, allocations: 11.36 MB / 1.139 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.8895, allocations: 4.01 MB / 1.143 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008983/0.8985, allocations: 4.214 MB / 1.147 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003482/0.902, allocations: 0.7158 MB / 1.147 GB, free: 12 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007241/0.9093, allocations: 1.719 MB / 1.149 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.006883/0.9162, allocations: 2.834 MB / 1.152 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01069/0.927, allocations: 3.392 MB / 1.155 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.9424, allocations: 9.477 MB / 1.164 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.9425, allocations: 0 / 1.164 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.168e-06/0.9425, allocations: 3.938 kB / 1.164 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004145/0.9429, allocations: 5.219 kB / 1.164 GB, free: 1.637 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02174/0.9647, allocations: 5.977 MB / 1.17 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9648, allocations: 9.969 kB / 1.17 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00887/0.9736, allocations: 1.139 MB / 1.171 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009488/0.9832, allocations: 3.321 MB / 1.175 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/0.9837, allocations: 378.3 kB / 1.175 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.9863, allocations: 500 kB / 1.175 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/1.009, allocations: 8.001 MB / 1.183 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/1.01, allocations: 27.77 kB / 1.183 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001914/1.011, allocations: 216 kB / 1.183 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/1.013, allocations: 437.6 kB / 1.184 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/1.028, allocations: 6.085 MB / 1.19 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05259/1.08, allocations: 35.16 MB / 1.224 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/1.084, allocations: 2.023 MB / 1.226 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/1.086, allocations: 1.858 MB / 1.228 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/1.087, allocations: 25.89 kB / 1.228 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/1.087, allocations: 60.45 kB / 1.228 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=171): time 5.811e-06/1.087, allocations: 0 / 1.228 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=276): time 0.1474/1.234, allocations: 38.88 MB / 1.266 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/1.234, allocations: 81.58 kB / 1.266 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/1.238, allocations: 2.274 MB / 1.268 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004171/1.238, allocations: 77.7 kB / 1.268 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.24, allocations: 2.276 MB / 1.271 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.241, allocations: 0.9396 MB / 1.271 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/1.242, allocations: 0.5061 MB / 1.272 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.242, allocations: 305.1 kB / 1.272 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/1.245, allocations: 1.973 MB / 1.274 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00367/1.249, allocations: 2.599 MB / 1.277 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007257/1.256, allocations: 4.937 MB / 1.282 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/1.256, allocations: 4 kB / 1.282 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01561/1.272, allocations: 7.75 MB / 1.289 GB, free: 28 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.272, allocations: 12 kB / 1.289 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/1.272, allocations: 20.03 kB / 1.289 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009474/1.282, allocations: 3.246 MB / 1.292 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.283, allocations: 395.4 kB / 1.293 GB, free: 12.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0481/1.332, allocations: 33.89 MB / 1.326 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/1.335, allocations: 167.8 kB / 1.326 GB, free: 9.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000294/1.335, allocations: 112.4 kB / 1.326 GB, free: 9.332 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00335/1.338, allocations: 1.795 MB / 1.328 GB, free: 7.527 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007365/1.339, allocations: 332.1 kB / 1.328 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.353, allocations: 7.364 MB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.353, allocations: 35.92 kB / 1.335 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.458e-05/1.354, allocations: 28 kB / 1.335 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.78e-05/1.354, allocations: 11.95 kB / 1.335 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.377, allocations: 12.93 MB / 1.348 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.377, allocations: 11.94 kB / 1.348 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009268/1.378, allocations: 235.6 kB / 1.348 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008125/1.386, allocations: 2.878 MB / 1.351 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/1.386, allocations: 48 kB / 1.351 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04494/1.431, allocations: 32.68 MB / 1.383 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.431, allocations: 7.938 kB / 1.383 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.444, allocations: 6.894 MB / 1.39 GB, free: 6.73 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.446, allocations: 0.7782 MB / 1.391 GB, free: 5.93 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005699/1.447, allocations: 60.3 kB / 1.391 GB, free: 5.871 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.449, allocations: 167.8 kB / 1.391 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008105/1.45, allocations: 253.4 kB / 1.391 GB, free: 5.461 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.45, allocations: 80 kB / 1.391 GB, free: 5.383 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002263/1.452, allocations: 1.521 MB / 1.393 GB, free: 3.859 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.452, allocations: 0 / 1.393 GB, free: 3.859 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004256/1.456, allocations: 1.371 MB / 1.394 GB, free: 2.488 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/1.457, allocations: 179 kB / 1.394 GB, free: 2.305 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.015/1.472, allocations: 8.376 MB / 1.402 GB, free: 9.828 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.472, allocations: 5.25 kB / 1.402 GB, free: 9.824 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007872/1.48, allocations: 4.409 MB / 1.407 GB, free: 5.336 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/1.484, allocations: 1.117 MB / 1.408 GB, free: 4.254 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/1.507, allocations: 13.18 MB / 1.421 GB, free: 6.984 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005257/1.512, allocations: 3.753 MB / 1.424 GB, free: 3.195 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009304/1.513, allocations: 171.4 kB / 1.424 GB, free: 3.031 MB / 1.139 GB Notification: Performance of SimCode: time 2.104e-06/1.513, allocations: 3.938 kB / 1.424 GB, free: 3.027 MB / 1.139 GB Notification: Performance of Templates: time 0.7093/2.223, allocations: 227.3 MB / 1.646 GB, free: 369.8 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches