Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.00174/0.00174, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.00222/0.00222, allocations: 155.1 kB / 23.01 MB, free: 4.949 MB / 14.72 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.782/2.782, allocations: 377.9 MB / 0.6228 GB, free: 12.64 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 59.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.9087, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02795/0.9367, allocations: 31.71 MB / 1.185 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.9576, allocations: 14.46 MB / 1.199 GB, free: 4.027 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003962/0.9616, allocations: 210.4 kB / 1.199 GB, free: 3.926 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009447/0.971, allocations: 3.666 MB / 1.203 GB, free: 1.859 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009086/0.9801, allocations: 2.981 MB / 1.206 GB, free: 36 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007365/0.9875, allocations: 2.333 MB / 1.208 GB, free: 14.74 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01418/1.002, allocations: 8.821 MB / 1.217 GB, free: 10.76 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01069/1.012, allocations: 5.484 MB / 1.222 GB, free: 7.965 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/1.024, allocations: 4.22 MB / 1.226 GB, free: 6.184 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009319/1.033, allocations: 3.936 MB / 1.23 GB, free: 4.684 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003214/1.036, allocations: 0.7113 MB / 1.231 GB, free: 4.684 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006373/1.042, allocations: 1.615 MB / 1.232 GB, free: 4.34 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.008393/1.051, allocations: 2.886 MB / 1.235 GB, free: 3.086 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.011/1.062, allocations: 2.744 MB / 1.238 GB, free: 1.578 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02432/1.086, allocations: 11.26 MB / 1.249 GB, free: 12.86 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.086, allocations: 0 / 1.249 GB, free: 12.86 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.853e-06/1.086, allocations: 0 / 1.249 GB, free: 12.86 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004795/1.087, allocations: 1.094 kB / 1.249 GB, free: 12.86 MB / 1.107 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.02527/1.112, allocations: 6.042 MB / 1.255 GB, free: 8.82 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/1.112, allocations: 9.156 kB / 1.255 GB, free: 8.82 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/1.122, allocations: 1.169 MB / 1.256 GB, free: 8.27 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/1.133, allocations: 3.454 MB / 1.259 GB, free: 6.043 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/1.134, allocations: 374.7 kB / 1.259 GB, free: 5.871 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/1.136, allocations: 0.4896 MB / 1.26 GB, free: 5.699 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/1.16, allocations: 8.696 MB / 1.268 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/1.161, allocations: 28.17 kB / 1.268 GB, free: 15.96 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/1.162, allocations: 218.6 kB / 1.269 GB, free: 15.79 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001279/1.164, allocations: 438.2 kB / 1.269 GB, free: 15.67 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/1.181, allocations: 6.077 MB / 1.275 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05129/1.232, allocations: 21.23 MB / 1.296 GB, free: 6.637 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/1.236, allocations: 1.917 MB / 1.298 GB, free: 4.711 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/1.239, allocations: 1.737 MB / 1.299 GB, free: 2.977 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/1.239, allocations: 22 kB / 1.299 GB, free: 2.953 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/1.239, allocations: 52.56 kB / 1.299 GB, free: 2.895 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 3.727e-06/1.239, allocations: 4 kB / 1.299 GB, free: 2.891 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.167/1.406, allocations: 38.69 MB / 1.337 GB, free: 12.14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/1.406, allocations: 81.58 kB / 1.337 GB, free: 12.05 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/1.411, allocations: 2.036 MB / 1.339 GB, free: 9.992 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005089/1.411, allocations: 73.7 kB / 1.339 GB, free: 9.914 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002036/1.413, allocations: 2.351 MB / 1.342 GB, free: 7.543 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.415, allocations: 0.9798 MB / 1.343 GB, free: 6.555 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/1.416, allocations: 0.5103 MB / 1.343 GB, free: 6.035 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.416, allocations: 301.1 kB / 1.343 GB, free: 5.738 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/1.42, allocations: 1.973 MB / 1.345 GB, free: 3.762 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/1.424, allocations: 2.599 MB / 1.348 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008083/1.432, allocations: 4.933 MB / 1.353 GB, free: 11.71 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/1.432, allocations: 4 kB / 1.353 GB, free: 11.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01672/1.449, allocations: 7.631 MB / 1.36 GB, free: 4.004 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.449, allocations: 16 kB / 1.36 GB, free: 3.988 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/1.449, allocations: 16 kB / 1.36 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/1.459, allocations: 3.206 MB / 1.363 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.461, allocations: 399.3 kB / 1.364 GB, free: 368 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05196/1.513, allocations: 32.56 MB / 1.395 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004787/1.518, allocations: 167.8 kB / 1.396 GB, free: 15.01 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.519, allocations: 108 kB / 1.396 GB, free: 14.91 MB / 1.248 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.005128/1.524, allocations: 1.793 MB / 1.397 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.525, allocations: 322 kB / 1.398 GB, free: 12.79 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/1.541, allocations: 7.236 MB / 1.405 GB, free: 5.465 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/1.541, allocations: 28 kB / 1.405 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.972e-05/1.542, allocations: 28 kB / 1.405 GB, free: 5.41 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/1.542, allocations: 11.95 kB / 1.405 GB, free: 5.398 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02596/1.568, allocations: 11.39 MB / 1.416 GB, free: 9.863 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/1.568, allocations: 4 kB / 1.416 GB, free: 9.859 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.569, allocations: 231.6 kB / 1.416 GB, free: 9.633 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008905/1.578, allocations: 2.848 MB / 1.419 GB, free: 6.766 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/1.578, allocations: 52 kB / 1.419 GB, free: 6.715 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04726/1.625, allocations: 31.36 MB / 1.45 GB, free: 6.73 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.625, allocations: 11.94 kB / 1.45 GB, free: 6.719 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/1.639, allocations: 6.758 MB / 1.456 GB, free: 15.75 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.641, allocations: 0.6931 MB / 1.457 GB, free: 15.05 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/1.641, allocations: 56 kB / 1.457 GB, free: 15 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.643, allocations: 168 kB / 1.457 GB, free: 14.84 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/1.644, allocations: 269.3 kB / 1.457 GB, free: 14.57 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/1.644, allocations: 79.94 kB / 1.458 GB, free: 14.49 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002084/1.646, allocations: 1.334 MB / 1.459 GB, free: 13.15 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.646, allocations: 0 / 1.459 GB, free: 13.15 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00435/1.651, allocations: 1.363 MB / 1.46 GB, free: 11.79 MB / 1.311 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.0003555/1.651, allocations: 179.5 kB / 1.46 GB, free: 11.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.663, allocations: 6.56 MB / 1.467 GB, free: 4.949 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.663, allocations: 4 kB / 1.467 GB, free: 4.945 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00821/1.671, allocations: 4.25 MB / 1.471 GB, free: 0.6094 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.676, allocations: 1.014 MB / 1.472 GB, free: 15.62 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/1.696, allocations: 10.35 MB / 1.482 GB, free: 5.188 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004894/1.7, allocations: 3.107 MB / 1.485 GB, free: 2.047 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001979/1.702, allocations: 0.526 MB / 1.486 GB, free: 1.516 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/1.703, allocations: 152.5 kB / 1.486 GB, free: 1.367 MB / 1.326 GB Notification: Performance of SimCode: time 8.32e-07/1.703, allocations: 0 / 1.486 GB, free: 1.367 MB / 1.326 GB Notification: Performance of Templates: time 0.1452/1.848, allocations: 75.66 MB / 1.56 GB, free: 7.027 MB / 1.404 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 11.824854793027043]