Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 84.41 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.824/2.824, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.23e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.05936/0.05939, allocations: 25.08 MB / 0.8353 GB, free: 8.957 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.07601, allocations: 8 MB / 0.8431 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.07826, allocations: 150.9 kB / 0.8433 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.008174/0.08643, allocations: 2.782 MB / 0.846 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.09141, allocations: 1.721 MB / 0.8477 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.0961, allocations: 1.687 MB / 0.8493 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008952/0.105, allocations: 6.258 MB / 0.8554 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006827/0.1119, allocations: 3.758 MB / 0.8591 GB, free: 0.4922 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007248/0.1191, allocations: 3.711 MB / 0.8627 GB, free: 12.77 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/0.124, allocations: 2.63 MB / 0.8653 GB, free: 10.14 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.1253, allocations: 0.5156 MB / 0.8658 GB, free: 9.621 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.1283, allocations: 1.228 MB / 0.867 GB, free: 8.391 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003303/0.1316, allocations: 2.214 MB / 0.8691 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002686/0.1343, allocations: 1.665 MB / 0.8708 GB, free: 4.504 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.1448, allocations: 8.267 MB / 0.8788 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1448, allocations: 0 / 0.8788 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1448, allocations: 0 / 0.8788 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001308/0.1449, allocations: 4 kB / 0.8788 GB, free: 12.21 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008868/0.1538, allocations: 4.241 MB / 0.883 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1538, allocations: 8.031 kB / 0.883 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005428/0.1593, allocations: 1.317 MB / 0.8843 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005506/0.1648, allocations: 2.716 MB / 0.8869 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.1651, allocations: 271.6 kB / 0.8872 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008121/0.1659, allocations: 384.8 kB / 0.8876 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.1771, allocations: 6.448 MB / 0.8939 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.1772, allocations: 27.75 kB / 0.8939 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004181/0.1777, allocations: 160 kB / 0.894 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006452/0.1783, allocations: 282.9 kB / 0.8943 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008377/0.1867, allocations: 4.524 MB / 0.8987 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02647/0.2132, allocations: 17.57 MB / 0.9159 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.2152, allocations: 1.045 MB / 0.9169 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.2168, allocations: 0.9636 MB / 0.9178 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.2169, allocations: 21 kB / 0.9179 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.2169, allocations: 43.56 kB / 0.9179 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 2.985e-06/0.2169, allocations: 0 / 0.9179 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.02513/0.242, allocations: 9.288 MB / 0.927 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.2421, allocations: 64.72 kB / 0.927 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.2443, allocations: 1.414 MB / 0.9284 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.2445, allocations: 49.7 kB / 0.9285 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.246, allocations: 1.737 MB / 0.9302 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007594/0.2468, allocations: 495.8 kB / 0.9306 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/0.2474, allocations: 331.4 kB / 0.931 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2476, allocations: 301.1 kB / 0.9312 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.2492, allocations: 0.9096 MB / 0.9321 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.2514, allocations: 1.528 MB / 0.9336 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004066/0.2555, allocations: 2.633 MB / 0.9362 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/0.2555, allocations: 8 kB / 0.9362 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007135/0.2626, allocations: 3.385 MB / 0.9395 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.2627, allocations: 12 kB / 0.9395 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.2627, allocations: 20 kB / 0.9395 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.2659, allocations: 0.8506 MB / 0.9404 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.2675, allocations: 399.2 kB / 0.9408 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.288, allocations: 15.85 MB / 0.9562 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.2896, allocations: 115.8 kB / 0.9563 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.2899, allocations: 76.19 kB / 0.9564 GB, free: 10.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (199): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002567/0.2925, allocations: 1.321 MB / 0.9577 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/0.2931, allocations: 238.8 kB / 0.9579 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006292/0.2994, allocations: 2.765 MB / 0.9606 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.2994, allocations: 12 kB / 0.9606 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/0.2994, allocations: 8 kB / 0.9606 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.2994, allocations: 7.969 kB / 0.9607 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.3113, allocations: 5.33 MB / 0.9659 GB, free: 228 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.3113, allocations: 8 kB / 0.9659 GB, free: 220 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.3124, allocations: 223.7 kB / 0.9661 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002939/0.3154, allocations: 0.7765 MB / 0.9668 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.3155, allocations: 32 kB / 0.9669 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/0.3354, allocations: 15.58 MB / 0.9821 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.3354, allocations: 7.938 kB / 0.9821 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007926/0.3433, allocations: 4.013 MB / 0.986 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.3445, allocations: 374.7 kB / 0.9864 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/0.345, allocations: 35.94 kB / 0.9864 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.3461, allocations: 83.83 kB / 0.9865 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/0.3465, allocations: 128.6 kB / 0.9866 GB, free: 9.914 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.3466, allocations: 36 kB / 0.9866 GB, free: 9.879 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001649/0.3483, allocations: 0.9132 MB / 0.9875 GB, free: 8.973 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3483, allocations: 0 / 0.9875 GB, free: 8.973 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002567/0.3508, allocations: 0.6953 MB / 0.9882 GB, free: 8.277 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.0002899/0.3511, allocations: 143 kB / 0.9883 GB, free: 8.129 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006162/0.3573, allocations: 3.397 MB / 0.9917 GB, free: 4.613 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.3573, allocations: 4 kB / 0.9917 GB, free: 4.609 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003995/0.3613, allocations: 2.24 MB / 0.9939 GB, free: 2.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/0.3644, allocations: 0.6417 MB / 0.9945 GB, free: 1.633 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.377, allocations: 6.597 MB / 1.001 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003514/0.3806, allocations: 2.113 MB / 1.003 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001575/0.3821, allocations: 472.7 kB / 1.003 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.3825, allocations: 112.5 kB / 1.004 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of SimCode: time 1.183e-06/0.3825, allocations: 0 / 1.004 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of Templates: time 0.06369/0.4462, allocations: 33.48 MB / 1.036 GB, free: 7.484 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.91326119704172]