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.001853/0.001853, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002283/0.002283, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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 3.21/3.21, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [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.002053/0.002053, allocations: 71.98 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3144, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03465/0.3491, allocations: 25.58 MB / 1.35 GB, free: 8.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.3646, allocations: 8.095 MB / 1.358 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.3668, allocations: 150.9 kB / 1.358 GB, free: 476 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.007802/0.3746, allocations: 2.777 MB / 1.361 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.3793, allocations: 1.671 MB / 1.362 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004618/0.3839, allocations: 1.684 MB / 1.364 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008063/0.392, allocations: 6.131 MB / 1.37 GB, free: 4.164 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006759/0.3988, allocations: 3.745 MB / 1.374 GB, free: 332 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.4037, allocations: 2.664 MB / 1.376 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005355/0.4091, allocations: 2.83 MB / 1.379 GB, free: 10.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.4107, allocations: 0.5078 MB / 1.38 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.4142, allocations: 1.201 MB / 1.381 GB, free: 9.102 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003424/0.4176, allocations: 2.108 MB / 1.383 GB, free: 6.988 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003736/0.4213, allocations: 1.922 MB / 1.385 GB, free: 5.059 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.4318, allocations: 8.122 MB / 1.393 GB, free: 12.91 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4318, allocations: 3.938 kB / 1.393 GB, free: 12.91 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4318, allocations: 0 / 1.393 GB, free: 12.91 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002441/0.432, allocations: 0 / 1.393 GB, free: 12.91 MB / 1.092 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.009864/0.4419, allocations: 4.257 MB / 1.397 GB, free: 8.598 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.4419, allocations: 8.031 kB / 1.397 GB, free: 8.59 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008496/0.4428, allocations: 0.5343 MB / 1.397 GB, free: 8.047 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004244/0.447, allocations: 0.8257 MB / 1.398 GB, free: 7.219 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005785/0.4528, allocations: 2.534 MB / 1.401 GB, free: 4.621 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.4531, allocations: 267.7 kB / 1.401 GB, free: 4.359 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008393/0.4539, allocations: 376.4 kB / 1.401 GB, free: 3.992 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.4654, allocations: 6.452 MB / 1.408 GB, free: 13.18 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.755e-05/0.4655, allocations: 15.83 kB / 1.408 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/0.4659, allocations: 156 kB / 1.408 GB, free: 13.01 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006881/0.4666, allocations: 282.9 kB / 1.408 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008549/0.4751, allocations: 4.508 MB / 1.412 GB, free: 8.215 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.5045, allocations: 18.02 MB / 1.43 GB, free: 5.664 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.5064, allocations: 1.061 MB / 1.431 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.5078, allocations: 0.9532 MB / 1.432 GB, free: 3.641 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.617e-05/0.5079, allocations: 13 kB / 1.432 GB, free: 3.629 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.508, allocations: 43.56 kB / 1.432 GB, free: 3.578 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.125e-06/0.508, allocations: 4 kB / 1.432 GB, free: 3.574 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02267/0.5306, allocations: 9.098 MB / 1.441 GB, free: 10.42 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.5307, allocations: 64.72 kB / 1.441 GB, free: 10.34 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.5329, allocations: 1.533 MB / 1.442 GB, free: 8.809 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.533, allocations: 53.7 kB / 1.442 GB, free: 8.75 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.5344, allocations: 1.719 MB / 1.444 GB, free: 7.012 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/0.5349, allocations: 491.8 kB / 1.445 GB, free: 6.527 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.5354, allocations: 327.4 kB / 1.445 GB, free: 6.199 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5356, allocations: 305.1 kB / 1.445 GB, free: 5.898 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.537, allocations: 0.9135 MB / 1.446 GB, free: 4.984 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.539, allocations: 1.467 MB / 1.448 GB, free: 3.281 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.5426, allocations: 2.542 MB / 1.45 GB, free: 0.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.5426, allocations: 4 kB / 1.45 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006339/0.5489, allocations: 3.279 MB / 1.453 GB, free: 13.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.549, allocations: 16 kB / 1.453 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.549, allocations: 16.84 kB / 1.453 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.5515, allocations: 0.7334 MB / 1.454 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.5531, allocations: 387.3 kB / 1.454 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.5715, allocations: 16.01 MB / 1.47 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.5733, allocations: 103.9 kB / 1.47 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.5735, allocations: 79.94 kB / 1.47 GB, free: 10.78 MB / 1.17 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 (193): * Single equations (assignments): 184 * 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.00243/0.5759, allocations: 1.309 MB / 1.471 GB, free: 9.457 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.5764, allocations: 210.7 kB / 1.472 GB, free: 9.25 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/0.5819, allocations: 2.761 MB / 1.474 GB, free: 6.445 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.5819, allocations: 16.14 kB / 1.474 GB, free: 6.43 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.5819, allocations: 7.938 kB / 1.474 GB, free: 6.422 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.5819, allocations: 15.95 kB / 1.474 GB, free: 6.406 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.5943, allocations: 5.885 MB / 1.48 GB, free: 376 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.5943, allocations: 4 kB / 1.48 GB, free: 372 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.5955, allocations: 231.6 kB / 1.48 GB, free: 140 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002201/0.5977, allocations: 0.6712 MB / 1.481 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.5979, allocations: 28 kB / 1.481 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01772/0.6156, allocations: 15.77 MB / 1.496 GB, free: 14.6 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.6156, allocations: 11.94 kB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00705/0.6226, allocations: 3.998 MB / 1.5 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.624, allocations: 382.6 kB / 1.501 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.6243, allocations: 39.92 kB / 1.501 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.6253, allocations: 79.89 kB / 1.501 GB, free: 9.992 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/0.6256, allocations: 124.6 kB / 1.501 GB, free: 9.871 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.6257, allocations: 40 kB / 1.501 GB, free: 9.832 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001523/0.6272, allocations: 0.9903 MB / 1.502 GB, free: 8.852 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6272, allocations: 0 / 1.502 GB, free: 8.852 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002159/0.6294, allocations: 0.6836 MB / 1.503 GB, free: 8.168 MB / 1.201 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.007008/0.6364, allocations: 4.6 MB / 1.507 GB, free: 3.445 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005678/0.6421, allocations: 3.381 MB / 1.51 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6421, allocations: 0 / 1.51 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/0.6456, allocations: 2.241 MB / 1.513 GB, free: 13.59 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.6484, allocations: 0.6829 MB / 1.513 GB, free: 12.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03453/0.6829, allocations: 21.29 MB / 1.534 GB, free: 6.754 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/0.6859, allocations: 2.105 MB / 1.536 GB, free: 4.613 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001478/0.6873, allocations: 497.3 kB / 1.537 GB, free: 4.125 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/0.689, allocations: 1.28 MB / 1.538 GB, free: 2.848 MB / 1.232 GB Notification: Performance of SimCode: time 1.142e-06/0.689, allocations: 0 / 1.538 GB, free: 2.848 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/0.8269, allocations: 61.47 MB / 1.598 GB, free: 6.348 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.16, allocations: 4.062 kB / 1.598 GB, free: 6.344 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 21.819178761914372]