Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.001587/0.001588, allocations: 100 kB / 16.4 MB, free: 6.512 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.001638/0.001638, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.12 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8957/0.8971, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009801/0.907, allocations: 6.165 MB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006189/0.9132, allocations: 3.168 MB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.9141, allocations: 27.81 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.9171, allocations: 0.9364 MB / 1.177 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.9188, allocations: 493.5 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.9204, allocations: 0.4969 MB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.9223, allocations: 1.108 MB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.9235, allocations: 0.6387 MB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009616/0.9245, allocations: 446.4 kB / 1.18 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009381/0.9254, allocations: 474.2 kB / 1.181 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.9256, allocations: 59.94 kB / 1.181 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.9268, allocations: 490.9 kB / 1.181 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.9272, allocations: 283.3 kB / 1.182 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.928, allocations: 401.9 kB / 1.182 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.9302, allocations: 1.183 MB / 1.183 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.9302, allocations: 0 / 1.183 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.811e-06/0.9302, allocations: 3.984 kB / 1.183 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.481e-05/0.9303, allocations: 7.938 kB / 1.183 GB, free: 3.43 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00264/0.933, allocations: 1.078 MB / 1.184 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.933, allocations: 12.92 kB / 1.184 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.9349, allocations: 224.1 kB / 1.185 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.9362, allocations: 0.5966 MB / 1.185 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.9362, allocations: 45.67 kB / 1.185 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.9364, allocations: 68.31 kB / 1.185 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.9382, allocations: 1.034 MB / 1.186 GB, free: 172 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.9383, allocations: 0 / 1.186 GB, free: 172 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/0.9383, allocations: 35.98 kB / 1.186 GB, free: 136 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.9385, allocations: 73.2 kB / 1.186 GB, free: 64 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.9397, allocations: 0.6919 MB / 1.187 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006456/0.9462, allocations: 5.738 MB / 1.193 GB, free: 9.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/0.9472, allocations: 0.6079 MB / 1.193 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008893/0.9481, allocations: 432.6 kB / 1.194 GB, free: 8.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.9481, allocations: 8 kB / 1.194 GB, free: 8.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.9482, allocations: 38.55 kB / 1.194 GB, free: 8.074 MB / 0.92 GB Notification: Performance of pre-optimization done (n=41): time 2.375e-06/0.9482, allocations: 0 / 1.194 GB, free: 8.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=42): time 0.004837/0.953, allocations: 2.023 MB / 1.196 GB, free: 5.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.9531, allocations: 59.41 kB / 1.196 GB, free: 5.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.9537, allocations: 466.7 kB / 1.196 GB, free: 5.422 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.9538, allocations: 37.7 kB / 1.196 GB, free: 5.379 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.9541, allocations: 404.1 kB / 1.197 GB, free: 4.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.9543, allocations: 150.7 kB / 1.197 GB, free: 4.832 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.9545, allocations: 114.2 kB / 1.197 GB, free: 4.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.9546, allocations: 358.8 kB / 1.197 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.955, allocations: 245.2 kB / 1.197 GB, free: 4.117 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.9556, allocations: 457 kB / 1.198 GB, free: 3.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.9566, allocations: 0.7519 MB / 1.199 GB, free: 2.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9566, allocations: 0 / 1.199 GB, free: 2.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002041/0.9586, allocations: 1.039 MB / 1.2 GB, free: 1.668 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.9587, allocations: 8 kB / 1.2 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.9587, allocations: 11.94 kB / 1.2 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.9598, allocations: 323.5 kB / 1.2 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.9602, allocations: 91.83 kB / 1.2 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/0.9684, allocations: 7.472 MB / 1.207 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.969, allocations: 32.02 kB / 1.207 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.969, allocations: 28 kB / 1.207 GB, free: 9.137 MB / 0.9356 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004416/0.9695, allocations: 241.6 kB / 1.208 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.9696, allocations: 67.5 kB / 1.208 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.9715, allocations: 0.8964 MB / 1.209 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.9716, allocations: 4 kB / 1.209 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.9716, allocations: 4.281 kB / 1.209 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.9716, allocations: 7.984 kB / 1.209 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.9746, allocations: 1.679 MB / 1.21 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.9746, allocations: 7.938 kB / 1.21 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.9748, allocations: 35.97 kB / 1.21 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009594/0.9758, allocations: 303.3 kB / 1.21 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.9758, allocations: 19.98 kB / 1.211 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007429/0.9833, allocations: 7.46 MB / 1.218 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9833, allocations: 7.938 kB / 1.218 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.9851, allocations: 0.9996 MB / 1.219 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.9854, allocations: 180.7 kB / 1.219 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.9855, allocations: 4 kB / 1.219 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.9859, allocations: 23.97 kB / 1.219 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.986, allocations: 43.88 kB / 1.219 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.986, allocations: 16 kB / 1.219 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004179/0.9865, allocations: 315 kB / 1.219 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9865, allocations: 4 kB / 1.219 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009185/0.9874, allocations: 192 kB / 1.22 GB, free: 11.9 MB / 0.9512 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002351/0.9877, allocations: 124.2 kB / 1.22 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.9899, allocations: 1.199 MB / 1.221 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.9899, allocations: 0 / 1.221 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.9914, allocations: 0.8578 MB / 1.222 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.9926, allocations: 205.7 kB / 1.222 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.9955, allocations: 1.313 MB / 1.223 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.9962, allocations: 0.996 MB / 1.224 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.9963, allocations: 43.44 kB / 1.224 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of SimCode: time 2.064e-06/0.9963, allocations: 0 / 1.224 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of Templates: time 0.02609/1.022, allocations: 18.69 MB / 1.242 GB, free: 4.324 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time