Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001551/0.001551, 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.001707/0.001707, allocations: 154.8 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.465/1.465, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.884/2.884, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.002259/0.002259, allocations: 63.89 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9248/0.9271, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04138/0.9685, allocations: 36.43 MB / 1.222 GB, free: 9.492 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.9916, allocations: 11.11 MB / 1.233 GB, free: 2.129 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0101/1.002, allocations: 204.4 kB / 1.233 GB, free: 2.035 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01559/1.017, allocations: 4.391 MB / 1.238 GB, free: 15.55 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008722/1.026, allocations: 2.327 MB / 1.24 GB, free: 14.1 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007507/1.034, allocations: 2.172 MB / 1.242 GB, free: 12.87 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01514/1.049, allocations: 9.276 MB / 1.251 GB, free: 8.082 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/1.062, allocations: 6.338 MB / 1.257 GB, free: 4.051 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009436/1.071, allocations: 4.135 MB / 1.261 GB, free: 1.68 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/1.083, allocations: 4.452 MB / 1.266 GB, free: 15.03 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.004217/1.087, allocations: 0.8222 MB / 1.266 GB, free: 15.03 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009181/1.096, allocations: 1.504 MB / 1.268 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.009167/1.105, allocations: 3.232 MB / 1.271 GB, free: 12.53 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01125/1.117, allocations: 2.971 MB / 1.274 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02256/1.139, allocations: 12.41 MB / 1.286 GB, free: 224 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.139, allocations: 0 / 1.286 GB, free: 224 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.924e-06/1.139, allocations: 0 / 1.286 GB, free: 224 kB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004809/1.14, allocations: 0 / 1.286 GB, free: 224 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02127/1.161, allocations: 6.403 MB / 1.292 GB, free: 9.75 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.161, allocations: 8.031 kB / 1.292 GB, free: 9.742 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006612/1.168, allocations: 1.109 MB / 1.293 GB, free: 8.629 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008796/1.176, allocations: 3.572 MB / 1.297 GB, free: 4.992 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004988/1.177, allocations: 423.8 kB / 1.297 GB, free: 4.578 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/1.179, allocations: 0.551 MB / 1.298 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/1.203, allocations: 10.29 MB / 1.308 GB, free: 9.184 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/1.203, allocations: 15.88 kB / 1.308 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001871/1.205, allocations: 244 kB / 1.308 GB, free: 8.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000822/1.206, allocations: 422.9 kB / 1.308 GB, free: 8.516 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/1.223, allocations: 7.12 MB / 1.315 GB, free: 1.387 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04769/1.271, allocations: 25.36 MB / 1.34 GB, free: 7.402 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005422/1.276, allocations: 2.902 MB / 1.343 GB, free: 4.492 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003383/1.279, allocations: 1.93 MB / 1.345 GB, free: 2.562 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/1.28, allocations: 22 kB / 1.345 GB, free: 2.539 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/1.28, allocations: 64.5 kB / 1.345 GB, free: 2.469 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.609e-06/1.28, allocations: 8 kB / 1.345 GB, free: 2.461 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02613/1.306, allocations: 10.25 MB / 1.355 GB, free: 8.199 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/1.306, allocations: 77.41 kB / 1.355 GB, free: 8.109 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/1.309, allocations: 1.833 MB / 1.357 GB, free: 6.246 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002768/1.309, allocations: 65.7 kB / 1.357 GB, free: 6.176 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001784/1.311, allocations: 2.485 MB / 1.359 GB, free: 3.668 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008265/1.311, allocations: 0.7668 MB / 1.36 GB, free: 2.895 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007797/1.312, allocations: 481.5 kB / 1.361 GB, free: 2.418 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.312, allocations: 301.1 kB / 1.361 GB, free: 2.121 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/1.314, allocations: 1.376 MB / 1.362 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002693/1.317, allocations: 2.104 MB / 1.364 GB, free: 14.32 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005116/1.322, allocations: 3.77 MB / 1.368 GB, free: 10.24 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/1.322, allocations: 12 kB / 1.368 GB, free: 10.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008909/1.331, allocations: 5.003 MB / 1.373 GB, free: 5.203 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.331, allocations: 12 kB / 1.373 GB, free: 5.191 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/1.331, allocations: 24.88 kB / 1.373 GB, free: 5.168 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/1.335, allocations: 1.586 MB / 1.374 GB, free: 3.574 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.337, allocations: 451.2 kB / 1.375 GB, free: 3.137 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/1.361, allocations: 17.78 MB / 1.392 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/1.364, allocations: 143.9 kB / 1.392 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.364, allocations: 111.9 kB / 1.392 GB, free: 0.7031 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004145/1.368, allocations: 1.942 MB / 1.394 GB, free: 14.75 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006554/1.369, allocations: 282.3 kB / 1.395 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007521/1.376, allocations: 4.397 MB / 1.399 GB, free: 10.04 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/1.377, allocations: 24 kB / 1.399 GB, free: 10.02 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/1.377, allocations: 16 kB / 1.399 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/1.377, allocations: 7.969 kB / 1.399 GB, free: 9.996 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.393, allocations: 8.35 MB / 1.407 GB, free: 1.527 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.393, allocations: 8 kB / 1.407 GB, free: 1.52 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.394, allocations: 231.6 kB / 1.407 GB, free: 1.293 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/1.398, allocations: 1.423 MB / 1.409 GB, free: 15.86 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/1.398, allocations: 40 kB / 1.409 GB, free: 15.82 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02721/1.425, allocations: 17.79 MB / 1.426 GB, free: 13.62 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.425, allocations: 4 kB / 1.426 GB, free: 13.61 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009486/1.435, allocations: 4.49 MB / 1.431 GB, free: 9.031 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.437, allocations: 0.545 MB / 1.431 GB, free: 8.484 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/1.437, allocations: 40 kB / 1.431 GB, free: 8.445 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.439, allocations: 115.9 kB / 1.431 GB, free: 8.332 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/1.439, allocations: 189.5 kB / 1.431 GB, free: 8.148 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.439, allocations: 60 kB / 1.431 GB, free: 8.09 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001903/1.441, allocations: 1.168 MB / 1.433 GB, free: 6.906 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/1.441, allocations: 0 / 1.433 GB, free: 6.906 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004269/1.446, allocations: 1.137 MB / 1.434 GB, free: 5.77 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004155/1.446, allocations: 163 kB / 1.434 GB, free: 5.602 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009174/1.455, allocations: 4.556 MB / 1.438 GB, free: 0.9961 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.455, allocations: 0 / 1.438 GB, free: 0.9961 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005783/1.461, allocations: 2.813 MB / 1.441 GB, free: 14.13 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/1.465, allocations: 0.8196 MB / 1.442 GB, free: 13.32 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/1.488, allocations: 9.543 MB / 1.451 GB, free: 3.691 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00631/1.494, allocations: 3.162 MB / 1.454 GB, free: 500 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002318/1.496, allocations: 0.5304 MB / 1.455 GB, free: 15.95 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/1.497, allocations: 144.4 kB / 1.455 GB, free: 15.81 MB / 1.311 GB Notification: Performance of SimCode: time 1.292e-06/1.497, allocations: 3.938 kB / 1.455 GB, free: 15.81 MB / 1.311 GB Notification: Performance of Templates: time 0.1084/1.605, allocations: 52.34 MB / 1.506 GB, free: 12.4 MB / 1.357 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 10.84873827197589]