Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001557/0.001557, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002439/0.002439, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.2 MB / 0.6647 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7831, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03693/0.82, allocations: 32.61 MB / 0.9814 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.839, allocations: 10.27 MB / 0.9915 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.8428, allocations: 143.3 kB / 0.9916 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.853, allocations: 3.726 MB / 0.9952 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.8598, allocations: 1.854 MB / 0.9971 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006342/0.8662, allocations: 2.135 MB / 0.9991 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009339/0.8755, allocations: 7.318 MB / 1.006 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01423/0.8898, allocations: 9.492 MB / 1.016 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005792/0.8956, allocations: 3.163 MB / 1.019 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006006/0.9016, allocations: 3.481 MB / 1.022 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.003423/0.9051, allocations: 0.6445 MB / 1.023 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006315/0.9114, allocations: 1.771 MB / 1.024 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004809/0.9163, allocations: 2.542 MB / 1.027 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006664/0.923, allocations: 2.891 MB / 1.03 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.9355, allocations: 10.05 MB / 1.04 GB, free: 5.422 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9355, allocations: 4 kB / 1.04 GB, free: 5.418 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9355, allocations: 0 / 1.04 GB, free: 5.418 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.00025/0.9358, allocations: 0 / 1.04 GB, free: 5.418 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01004/0.9458, allocations: 4.994 MB / 1.044 GB, free: 360 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.9459, allocations: 16.02 kB / 1.044 GB, free: 344 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.951, allocations: 0.9553 MB / 1.045 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/0.9561, allocations: 2.859 MB / 1.048 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.9564, allocations: 353.6 kB / 1.048 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.9575, allocations: 468.1 kB / 1.049 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.9714, allocations: 7.663 MB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.9716, allocations: 23.77 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005148/0.9721, allocations: 200 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/0.9725, allocations: 313 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009994/0.9825, allocations: 5.71 MB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/1.016, allocations: 35.09 MB / 1.097 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/1.019, allocations: 2.156 MB / 1.099 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/1.021, allocations: 1.268 MB / 1.1 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.151e-05/1.021, allocations: 13.31 kB / 1.1 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.021, allocations: 43.88 kB / 1.1 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.486e-06/1.021, allocations: 0 / 1.1 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.0151/1.036, allocations: 7.084 MB / 1.107 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.036, allocations: 68.72 kB / 1.107 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.038, allocations: 1.484 MB / 1.109 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/1.038, allocations: 53.7 kB / 1.109 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.039, allocations: 2 MB / 1.111 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/1.04, allocations: 489 kB / 1.111 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/1.04, allocations: 347.2 kB / 1.111 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.04, allocations: 301.1 kB / 1.112 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/1.042, allocations: 0.9174 MB / 1.113 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/1.043, allocations: 1.593 MB / 1.114 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/1.047, allocations: 2.745 MB / 1.117 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.047, allocations: 8 kB / 1.117 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005842/1.052, allocations: 3.53 MB / 1.12 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/1.053, allocations: 12 kB / 1.12 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/1.053, allocations: 24.91 kB / 1.12 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/1.055, allocations: 0.9115 MB / 1.121 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.056, allocations: 347.4 kB / 1.122 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/1.076, allocations: 23.12 MB / 1.144 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.078, allocations: 99.92 kB / 1.144 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.078, allocations: 95.98 kB / 1.144 GB, free: 3.52 MB / 0.9044 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002317/1.08, allocations: 1.606 MB / 1.146 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/1.081, allocations: 209.5 kB / 1.146 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/1.086, allocations: 2.982 MB / 1.149 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.086, allocations: 16 kB / 1.149 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.086, allocations: 12 kB / 1.149 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.086, allocations: 11.91 kB / 1.149 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/1.097, allocations: 7.344 MB / 1.156 GB, free: 7.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.097, allocations: 4 kB / 1.156 GB, free: 7.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/1.098, allocations: 171.7 kB / 1.156 GB, free: 6.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/1.1, allocations: 0.8261 MB / 1.157 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.54e-05/1.1, allocations: 32 kB / 1.157 GB, free: 5.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/1.12, allocations: 21.96 MB / 1.179 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.12, allocations: 11.94 kB / 1.179 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005138/1.125, allocations: 3.019 MB / 1.182 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/1.126, allocations: 466.4 kB / 1.182 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.126, allocations: 35.88 kB / 1.182 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/1.127, allocations: 71.84 kB / 1.182 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/1.128, allocations: 124.7 kB / 1.182 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.416e-05/1.128, allocations: 36 kB / 1.182 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001314/1.129, allocations: 0.9756 MB / 1.183 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.129, allocations: 0 / 1.183 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00275/1.132, allocations: 0.7891 MB / 1.184 GB, free: 8.668 MB / 0.9512 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002375/1.132, allocations: 148.2 kB / 1.184 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006628/1.139, allocations: 4.637 MB / 1.189 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.139, allocations: 0 / 1.189 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/1.142, allocations: 2.74 MB / 1.191 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.145, allocations: 0.7257 MB / 1.192 GB, free: 128 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.157, allocations: 7.215 MB / 1.199 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003383/1.161, allocations: 3.113 MB / 1.202 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001507/1.162, allocations: 457.9 kB / 1.203 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/1.163, allocations: 111.4 kB / 1.203 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of SimCode: time 2.535e-06/1.163, allocations: 0 / 1.203 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of Templates: time 0.06298/1.226, allocations: 35.71 MB / 1.238 GB, free: 1.828 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches