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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 160.7 MB / 1.214 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008859/0.3467, allocations: 6.262 MB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005789/0.3525, allocations: 3.207 MB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000604/0.3531, allocations: 27.81 kB / 1.223 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.3557, allocations: 0.9482 MB / 1.224 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.3571, allocations: 497.5 kB / 1.225 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.3585, allocations: 0.4948 MB / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3599, allocations: 1.1 MB / 1.226 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009176/0.3609, allocations: 0.5255 MB / 1.227 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/0.3616, allocations: 438.4 kB / 1.227 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007058/0.3623, allocations: 0.4981 MB / 1.228 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.624e-05/0.3624, allocations: 56 kB / 1.228 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.3634, allocations: 499 kB / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.3637, allocations: 299.1 kB / 1.229 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.3642, allocations: 401.9 kB / 1.229 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.3658, allocations: 1.179 MB / 1.23 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3658, allocations: 0 / 1.23 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3658, allocations: 0 / 1.23 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.3658, allocations: 0 / 1.23 GB, free: 0.4961 MB / 0.9669 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.001807/0.3676, allocations: 1.086 MB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3677, allocations: 11.97 kB / 1.231 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.3692, allocations: 224.2 kB / 1.231 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009643/0.3702, allocations: 0.6043 MB / 1.232 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.3702, allocations: 49.61 kB / 1.232 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3703, allocations: 64.33 kB / 1.232 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.3718, allocations: 1.038 MB / 1.233 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.3719, allocations: 7.938 kB / 1.233 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.3719, allocations: 28 kB / 1.233 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.3721, allocations: 69.27 kB / 1.233 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.3731, allocations: 0.6879 MB / 1.234 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00563/0.3788, allocations: 5.753 MB / 1.239 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/0.3796, allocations: 0.5472 MB / 1.24 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/0.3805, allocations: 392.6 kB / 1.24 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.3805, allocations: 4 kB / 1.24 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.3806, allocations: 30.56 kB / 1.24 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=41): time 1.944e-06/0.3806, allocations: 7.938 kB / 1.24 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.004627/0.3852, allocations: 2.023 MB / 1.242 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3852, allocations: 55.41 kB / 1.242 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.3858, allocations: 458.9 kB / 1.243 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.3858, allocations: 33.7 kB / 1.243 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.3861, allocations: 404.1 kB / 1.243 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3863, allocations: 158.6 kB / 1.243 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.3864, allocations: 114.2 kB / 1.244 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3866, allocations: 362.8 kB / 1.244 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.387, allocations: 241.2 kB / 1.244 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.3875, allocations: 453 kB / 1.245 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3885, allocations: 0.7481 MB / 1.245 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3886, allocations: 4 kB / 1.245 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002002/0.3906, allocations: 1.035 MB / 1.246 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3906, allocations: 8 kB / 1.246 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3906, allocations: 8 kB / 1.246 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.3917, allocations: 323.1 kB / 1.247 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.392, allocations: 95.83 kB / 1.247 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/0.3997, allocations: 7.471 MB / 1.254 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.4003, allocations: 36.2 kB / 1.254 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.4003, allocations: 28 kB / 1.254 GB, free: 6.301 MB / 0.9981 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.0003768/0.4007, allocations: 245.6 kB / 1.254 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4008, allocations: 63.56 kB / 1.254 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.4026, allocations: 0.8809 MB / 1.255 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4026, allocations: 4 kB / 1.255 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4026, allocations: 4 kB / 1.255 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4026, allocations: 12 kB / 1.255 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.4053, allocations: 1.661 MB / 1.257 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4054, allocations: 4 kB / 1.257 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.4055, allocations: 43.91 kB / 1.257 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009544/0.4065, allocations: 303.3 kB / 1.257 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.4065, allocations: 12.28 kB / 1.257 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6252/1.032, allocations: 7.454 MB / 1.264 GB, free: 44.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.032, allocations: 5.312 kB / 1.264 GB, free: 44.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/1.033, allocations: 0.9846 MB / 1.265 GB, free: 44.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/1.033, allocations: 176.5 kB / 1.266 GB, free: 44.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/1.034, allocations: 11.25 kB / 1.266 GB, free: 44.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/1.034, allocations: 27.33 kB / 1.266 GB, free: 44.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.034, allocations: 43.03 kB / 1.266 GB, free: 44.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/1.034, allocations: 16.03 kB / 1.266 GB, free: 44.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002971/1.034, allocations: 311.9 kB / 1.266 GB, free: 44.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.034, allocations: 0.5 kB / 1.266 GB, free: 44.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007308/1.035, allocations: 192.7 kB / 1.266 GB, free: 44.09 MB / 0.9981 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.0001266/1.035, allocations: 108.5 kB / 1.266 GB, free: 44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001584/1.037, allocations: 1.168 MB / 1.267 GB, free: 43.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.037, allocations: 0 / 1.267 GB, free: 43.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.038, allocations: 0.8253 MB / 1.268 GB, free: 43.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/1.039, allocations: 208.7 kB / 1.268 GB, free: 43.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.041, allocations: 1.315 MB / 1.27 GB, free: 42.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/1.041, allocations: 0.9887 MB / 1.271 GB, free: 41.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.716e-05/1.041, allocations: 43.75 kB / 1.271 GB, free: 41.81 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.041, allocations: 3.5 kB / 1.271 GB, free: 41.81 MB / 0.9981 GB Notification: Performance of Templates: time 0.03289/1.074, allocations: 18.71 MB / 1.289 GB, free: 40.6 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 14.39554606215097]