Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_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_latest_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_latest_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.005954/0.005954, allocations: 100.4 kB / 15.87 MB, free: 6.324 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.001445/0.001445, allocations: 193.6 kB / 16.79 MB, free: 6.254 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.16 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3029, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03761/0.3406, allocations: 33.04 MB / 1.085 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.3653, allocations: 14.8 MB / 1.099 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.3696, allocations: 139.2 kB / 1.1 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.3798, allocations: 3.392 MB / 1.103 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.3898, allocations: 2.678 MB / 1.106 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006895/0.3967, allocations: 2.135 MB / 1.108 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01507/0.4118, allocations: 12.2 MB / 1.12 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01902/0.4309, allocations: 10.35 MB / 1.13 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007761/0.4387, allocations: 3.437 MB / 1.133 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007419/0.4462, allocations: 4.096 MB / 1.137 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.4486, allocations: 488 kB / 1.137 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0054/0.454, allocations: 1.743 MB / 1.139 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005281/0.4593, allocations: 2.588 MB / 1.142 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00812/0.4675, allocations: 3.115 MB / 1.145 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.4791, allocations: 9.404 MB / 1.154 GB, free: 336 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4792, allocations: 0 / 1.154 GB, free: 336 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4792, allocations: 0 / 1.154 GB, free: 336 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004026/0.4796, allocations: 0 / 1.154 GB, free: 336 kB / 0.9044 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.01619/0.4958, allocations: 5.979 MB / 1.16 GB, free: 10.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4958, allocations: 11.97 kB / 1.16 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008285/0.5041, allocations: 1.141 MB / 1.161 GB, free: 9.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00764/0.5118, allocations: 3.321 MB / 1.164 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.5122, allocations: 378.3 kB / 1.164 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001874/0.5141, allocations: 496 kB / 1.165 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.5336, allocations: 8.005 MB / 1.173 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003035/0.534, allocations: 23.83 kB / 1.173 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/0.5357, allocations: 220 kB / 1.173 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/0.5369, allocations: 437.6 kB / 1.173 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.5501, allocations: 6.085 MB / 1.179 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04364/0.5938, allocations: 35.16 MB / 1.214 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.5967, allocations: 2.021 MB / 1.216 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.5993, allocations: 1.861 MB / 1.217 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.5995, allocations: 25.84 kB / 1.218 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/0.5995, allocations: 64.44 kB / 1.218 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.527e-06/0.5996, allocations: 4 kB / 1.218 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.6886/1.288, allocations: 38.86 MB / 1.256 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/1.288, allocations: 81.69 kB / 1.256 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/1.293, allocations: 2.276 MB / 1.258 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004983/1.293, allocations: 75.92 kB / 1.258 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.295, allocations: 2.27 MB / 1.26 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/1.296, allocations: 0.9384 MB / 1.261 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/1.297, allocations: 0.5143 MB / 1.262 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/1.297, allocations: 306.8 kB / 1.262 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/1.3, allocations: 1.973 MB / 1.264 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004362/1.305, allocations: 2.601 MB / 1.266 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/1.312, allocations: 4.926 MB / 1.271 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.312, allocations: 9.562 kB / 1.271 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0166/1.329, allocations: 7.753 MB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/1.329, allocations: 14.09 kB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/1.329, allocations: 16.81 kB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009436/1.338, allocations: 3.219 MB / 1.282 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/1.34, allocations: 406.8 kB / 1.282 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03427/1.374, allocations: 31.08 MB / 1.313 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/1.377, allocations: 167.8 kB / 1.313 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/1.378, allocations: 108 kB / 1.313 GB, free: 143.9 MB / 0.9981 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.002861/1.38, allocations: 1.793 MB / 1.315 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00072/1.381, allocations: 332.1 kB / 1.315 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.393, allocations: 7.367 MB / 1.322 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/1.393, allocations: 28 kB / 1.322 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/1.393, allocations: 28 kB / 1.322 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/1.393, allocations: 17.08 kB / 1.322 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/1.413, allocations: 12.92 MB / 1.335 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.413, allocations: 10.86 kB / 1.335 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/1.414, allocations: 227.6 kB / 1.335 GB, free: 121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/1.421, allocations: 2.848 MB / 1.338 GB, free: 118.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000356/1.421, allocations: 52 kB / 1.338 GB, free: 118.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03117/1.452, allocations: 29.91 MB / 1.367 GB, free: 87.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.453, allocations: 11.91 kB / 1.367 GB, free: 87.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.463, allocations: 6.881 MB / 1.374 GB, free: 80.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/1.466, allocations: 0.7821 MB / 1.375 GB, free: 79.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/1.466, allocations: 52 kB / 1.375 GB, free: 79.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.468, allocations: 171.8 kB / 1.375 GB, free: 79.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000802/1.469, allocations: 257.2 kB / 1.375 GB, free: 79.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.469, allocations: 80.17 kB / 1.375 GB, free: 78.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001742/1.471, allocations: 1.521 MB / 1.377 GB, free: 77.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.471, allocations: 8 kB / 1.377 GB, free: 77.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003711/1.474, allocations: 1.371 MB / 1.378 GB, free: 76.05 MB / 0.9981 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.0003327/1.475, allocations: 171.8 kB / 1.378 GB, free: 75.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009357/1.484, allocations: 6.892 MB / 1.385 GB, free: 68.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.484, allocations: 4.125 kB / 1.385 GB, free: 68.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00625/1.49, allocations: 4.419 MB / 1.389 GB, free: 64.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.495, allocations: 1.031 MB / 1.39 GB, free: 63.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.511, allocations: 13.17 MB / 1.403 GB, free: 50.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/1.515, allocations: 3.749 MB / 1.407 GB, free: 46.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/1.515, allocations: 175.4 kB / 1.407 GB, free: 46.21 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.515, allocations: 0 / 1.407 GB, free: 46.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.2474/1.763, allocations: 227.3 MB / 1.629 GB, free: 10.97 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches