Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.007624/0.007624, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001797/0.001798, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9121/0.9135, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008021/0.9216, allocations: 6.808 MB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005457/0.9271, allocations: 3.066 MB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000666/0.9278, allocations: 28.09 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002751/0.9306, allocations: 0.9492 MB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.9322, allocations: 0.5193 MB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.9336, allocations: 450.8 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.9356, allocations: 1.233 MB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.9368, allocations: 0.6543 MB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008424/0.9376, allocations: 482.8 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.9384, allocations: 0.5227 MB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.9385, allocations: 66.56 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.9398, allocations: 378.3 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006057/0.9404, allocations: 314.7 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007019/0.9411, allocations: 447.8 kB / 1.103 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.9432, allocations: 1.223 MB / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9432, allocations: 5.375 kB / 1.105 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9432, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.9432, allocations: 0 / 1.105 GB, free: 11.47 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002074/0.9453, allocations: 1.165 MB / 1.106 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.9454, allocations: 14.2 kB / 1.106 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.9469, allocations: 238.6 kB / 1.106 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.948, allocations: 0.6038 MB / 1.107 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.948, allocations: 52.08 kB / 1.107 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.9482, allocations: 61.17 kB / 1.107 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.9501, allocations: 1.09 MB / 1.108 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.9501, allocations: 2.312 kB / 1.108 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.9502, allocations: 33.67 kB / 1.108 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.9504, allocations: 85.02 kB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.9516, allocations: 0.7535 MB / 1.109 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005417/0.957, allocations: 5.873 MB / 1.114 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.9583, allocations: 0.5552 MB / 1.115 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.9587, allocations: 324.7 kB / 1.115 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.9588, allocations: 5.531 kB / 1.115 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.9588, allocations: 38.5 kB / 1.115 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.444e-06/0.9588, allocations: 1.531 kB / 1.115 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004183/0.963, allocations: 1.996 MB / 1.117 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.9631, allocations: 57.7 kB / 1.117 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.964, allocations: 0.5564 MB / 1.118 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.9641, allocations: 36.92 kB / 1.118 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.9645, allocations: 413 kB / 1.118 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.9647, allocations: 171.4 kB / 1.118 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.9649, allocations: 133.4 kB / 1.119 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9651, allocations: 374.5 kB / 1.119 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.9655, allocations: 274.3 kB / 1.119 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.9661, allocations: 494.4 kB / 1.12 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.9672, allocations: 0.8148 MB / 1.12 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9672, allocations: 1.312 kB / 1.12 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001833/0.969, allocations: 1.088 MB / 1.121 GB, free: 84 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.9691, allocations: 8.625 kB / 1.121 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.9691, allocations: 7.438 kB / 1.121 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/0.97, allocations: 276.9 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.9705, allocations: 133.3 kB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006921/0.9774, allocations: 7.137 MB / 1.129 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.978, allocations: 37.22 kB / 1.129 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.9781, allocations: 31.19 kB / 1.129 GB, free: 9.723 MB / 0.8887 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.0003642/0.9785, allocations: 254.5 kB / 1.129 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.9786, allocations: 71.38 kB / 1.129 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.9805, allocations: 0.8965 MB / 1.13 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.9805, allocations: 5.875 kB / 1.13 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9805, allocations: 2.688 kB / 1.13 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.9805, allocations: 4.625 kB / 1.13 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.9835, allocations: 1.721 MB / 1.132 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9835, allocations: 1.719 kB / 1.132 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.9838, allocations: 68.41 kB / 1.132 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/0.9846, allocations: 266.7 kB / 1.132 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.9847, allocations: 11.06 kB / 1.132 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006526/0.9912, allocations: 7.117 MB / 1.139 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.9912, allocations: 5.812 kB / 1.139 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.993, allocations: 0.9914 MB / 1.14 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.9935, allocations: 189.7 kB / 1.14 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.9937, allocations: 13.8 kB / 1.14 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.9942, allocations: 28.98 kB / 1.14 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.9944, allocations: 46.11 kB / 1.14 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.9944, allocations: 15 kB / 1.14 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008369/0.9953, allocations: 389.2 kB / 1.141 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9953, allocations: 3.938 kB / 1.141 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001414/0.9967, allocations: 225.4 kB / 1.141 GB, free: 0.9844 MB / 0.8887 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.0002622/0.997, allocations: 115.5 kB / 1.141 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002461/0.9994, allocations: 1.281 MB / 1.142 GB, free: 132 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.9995, allocations: 1.094 kB / 1.142 GB, free: 132 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.001, allocations: 0.8891 MB / 1.143 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.002, allocations: 226.3 kB / 1.143 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/1.005, allocations: 1.327 MB / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008422/1.006, allocations: 1.009 MB / 1.146 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004831/1.006, allocations: 124 kB / 1.146 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.006, allocations: 46.56 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of SimCode: time 5.82e-07/1.006, allocations: 0 / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.02893/1.035, allocations: 11.32 MB / 1.157 GB, free: 10.97 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches