Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001427/0.001427, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001454/0.001454, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 69.5 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3643, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.696/1.06, allocations: 32.6 MB / 1.096 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.081, allocations: 10.26 MB / 1.106 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/1.087, allocations: 150.1 kB / 1.106 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01125/1.098, allocations: 3.717 MB / 1.11 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009389/1.108, allocations: 1.859 MB / 1.112 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008885/1.117, allocations: 2.127 MB / 1.114 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01542/1.132, allocations: 7.323 MB / 1.121 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01967/1.152, allocations: 9.482 MB / 1.13 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007763/1.16, allocations: 3.161 MB / 1.133 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008186/1.168, allocations: 3.479 MB / 1.137 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003148/1.171, allocations: 0.6454 MB / 1.137 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007817/1.179, allocations: 1.772 MB / 1.139 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00671/1.186, allocations: 2.543 MB / 1.141 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01037/1.196, allocations: 2.897 MB / 1.144 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01935/1.215, allocations: 10.05 MB / 1.154 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/1.215, allocations: 4 kB / 1.154 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.865e-06/1.215, allocations: 0 / 1.154 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004425/1.216, allocations: 0 / 1.154 GB, free: 9.043 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02192/1.238, allocations: 4.997 MB / 1.159 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/1.238, allocations: 9.844 kB / 1.159 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008476/1.246, allocations: 0.9562 MB / 1.16 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009284/1.256, allocations: 2.86 MB / 1.163 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006548/1.256, allocations: 353.4 kB / 1.163 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003159/1.259, allocations: 457.4 kB / 1.164 GB, free: 3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/1.286, allocations: 7.675 MB / 1.171 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/1.286, allocations: 27.72 kB / 1.171 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00276/1.289, allocations: 200 kB / 1.171 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005327/1.289, allocations: 313 kB / 1.172 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/1.305, allocations: 5.714 MB / 1.177 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05026/1.355, allocations: 35.08 MB / 1.211 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/1.358, allocations: 2.156 MB / 1.213 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/1.36, allocations: 1.264 MB / 1.215 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/1.36, allocations: 21.22 kB / 1.215 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/1.36, allocations: 47.88 kB / 1.215 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=133): time 3.367e-06/1.36, allocations: 0 / 1.215 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=136): time 0.01522/1.376, allocations: 7.088 MB / 1.222 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/1.376, allocations: 68.72 kB / 1.222 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/1.378, allocations: 1.488 MB / 1.223 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/1.378, allocations: 53.69 kB / 1.223 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.38, allocations: 1.996 MB / 1.225 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/1.38, allocations: 493 kB / 1.226 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/1.381, allocations: 347.2 kB / 1.226 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.381, allocations: 309 kB / 1.226 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.382, allocations: 0.9096 MB / 1.227 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/1.384, allocations: 1.597 MB / 1.229 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/1.387, allocations: 2.733 MB / 1.231 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/1.387, allocations: 8 kB / 1.231 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006176/1.393, allocations: 3.526 MB / 1.235 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/1.393, allocations: 12 kB / 1.235 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/1.393, allocations: 24.91 kB / 1.235 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/1.396, allocations: 0.9115 MB / 1.236 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.397, allocations: 355.4 kB / 1.236 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/1.418, allocations: 23.11 MB / 1.259 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/1.42, allocations: 104 kB / 1.259 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/1.42, allocations: 88 kB / 1.259 GB, free: 12.99 MB / 0.9825 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.003537/1.424, allocations: 1.609 MB / 1.26 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/1.424, allocations: 209.5 kB / 1.261 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005519/1.43, allocations: 2.99 MB / 1.264 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.43, allocations: 16 kB / 1.264 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-05/1.43, allocations: 12 kB / 1.264 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.43, allocations: 7.969 kB / 1.264 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.445, allocations: 7.348 MB / 1.271 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.445, allocations: 4 kB / 1.271 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/1.446, allocations: 179.7 kB / 1.271 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/1.448, allocations: 0.8222 MB / 1.272 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.449, allocations: 36 kB / 1.272 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/1.467, allocations: 21.96 MB / 1.293 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.467, allocations: 4 kB / 1.293 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/1.473, allocations: 3.023 MB / 1.296 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.474, allocations: 458.5 kB / 1.297 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/1.474, allocations: 27.94 kB / 1.297 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/1.475, allocations: 71.91 kB / 1.297 GB, free: 4.066 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.475, allocations: 128.7 kB / 1.297 GB, free: 3.941 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/1.476, allocations: 36 kB / 1.297 GB, free: 3.906 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001264/1.477, allocations: 0.9834 MB / 1.298 GB, free: 2.898 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.477, allocations: 0 / 1.298 GB, free: 2.898 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003208/1.48, allocations: 0.7852 MB / 1.299 GB, free: 2.113 MB / 1.014 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.0002657/1.48, allocations: 139.6 kB / 1.299 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006841/1.487, allocations: 4.664 MB / 1.303 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.487, allocations: 0 / 1.303 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003732/1.491, allocations: 2.733 MB / 1.306 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/1.495, allocations: 0.7208 MB / 1.307 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.511, allocations: 7.848 MB / 1.314 GB, free: 1.629 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005265/1.516, allocations: 3.179 MB / 1.317 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/1.517, allocations: 131.4 kB / 1.318 GB, free: 14.3 MB / 1.045 GB Notification: Performance of SimCode: time 1.082e-06/1.517, allocations: 0 / 1.318 GB, free: 14.3 MB / 1.045 GB Notification: Performance of Templates: time 0.9153/2.432, allocations: 321.5 MB / 1.632 GB, free: 387.3 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches