Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001807/0.001807, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002305/0.002305, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.707/2.707, allocations: 476 MB / 0.7699 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002146/0.002146, allocations: 71.44 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03431/0.3325, allocations: 25.57 MB / 1.308 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.3479, allocations: 8.095 MB / 1.315 GB, free: 10.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.3502, allocations: 154.8 kB / 1.316 GB, free: 10.49 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007491/0.3577, allocations: 2.772 MB / 1.318 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004475/0.3621, allocations: 1.664 MB / 1.32 GB, free: 6.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.3668, allocations: 1.69 MB / 1.322 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008466/0.3752, allocations: 6.143 MB / 1.328 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006603/0.3818, allocations: 3.734 MB / 1.331 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004405/0.3862, allocations: 2.676 MB / 1.334 GB, free: 7.684 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005232/0.3915, allocations: 2.822 MB / 1.337 GB, free: 4.852 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.3928, allocations: 0.5078 MB / 1.337 GB, free: 4.344 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.396, allocations: 1.194 MB / 1.338 GB, free: 3.148 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002757/0.3988, allocations: 2.108 MB / 1.34 GB, free: 1.035 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003613/0.4024, allocations: 1.934 MB / 1.342 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009237/0.4116, allocations: 8.116 MB / 1.35 GB, free: 6.957 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4116, allocations: 0 / 1.35 GB, free: 6.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4116, allocations: 4 kB / 1.35 GB, free: 6.953 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001705/0.4118, allocations: 0 / 1.35 GB, free: 6.953 MB / 1.045 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.0083/0.4201, allocations: 4.258 MB / 1.354 GB, free: 2.645 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4201, allocations: 8.031 kB / 1.354 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007573/0.4209, allocations: 0.546 MB / 1.355 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.4252, allocations: 0.814 MB / 1.356 GB, free: 1.266 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005875/0.4311, allocations: 2.53 MB / 1.358 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.4313, allocations: 275.6 kB / 1.358 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008303/0.4321, allocations: 380.4 kB / 1.359 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.4429, allocations: 6.444 MB / 1.365 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.443, allocations: 19.89 kB / 1.365 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/0.4434, allocations: 156 kB / 1.365 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006604/0.444, allocations: 278.9 kB / 1.365 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008183/0.4522, allocations: 4.52 MB / 1.37 GB, free: 2.246 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0256/0.4778, allocations: 18.01 MB / 1.387 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4796, allocations: 1.055 MB / 1.388 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.481, allocations: 0.9564 MB / 1.389 GB, free: 13.69 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.4811, allocations: 13 kB / 1.389 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.4812, allocations: 55.56 kB / 1.389 GB, free: 13.61 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.016e-06/0.4812, allocations: 0 / 1.389 GB, free: 13.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.02276/0.5039, allocations: 9.088 MB / 1.398 GB, free: 4.469 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.504, allocations: 72.72 kB / 1.398 GB, free: 4.383 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.5061, allocations: 1.525 MB / 1.4 GB, free: 2.859 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.5063, allocations: 49.7 kB / 1.4 GB, free: 2.805 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.5076, allocations: 1.719 MB / 1.402 GB, free: 1.066 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.5081, allocations: 491.8 kB / 1.402 GB, free: 0.582 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005338/0.5086, allocations: 331.4 kB / 1.402 GB, free: 256 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5087, allocations: 309.1 kB / 1.403 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.5102, allocations: 0.9096 MB / 1.404 GB, free: 15.04 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.5122, allocations: 1.463 MB / 1.405 GB, free: 13.33 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.5158, allocations: 2.55 MB / 1.408 GB, free: 10.54 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.5159, allocations: 12 kB / 1.408 GB, free: 10.53 MB / 1.107 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006158/0.522, allocations: 3.279 MB / 1.411 GB, free: 7.215 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.522, allocations: 12 kB / 1.411 GB, free: 7.203 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5221, allocations: 20.12 kB / 1.411 GB, free: 7.184 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.5245, allocations: 0.7295 MB / 1.411 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.5261, allocations: 383.4 kB / 1.412 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01824/0.5443, allocations: 16.01 MB / 1.427 GB, free: 5 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.5458, allocations: 107.8 kB / 1.428 GB, free: 4.895 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.5459, allocations: 72.19 kB / 1.428 GB, free: 4.824 MB / 1.123 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.002142/0.5481, allocations: 1.312 MB / 1.429 GB, free: 3.504 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.5484, allocations: 210.7 kB / 1.429 GB, free: 3.297 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/0.5539, allocations: 2.773 MB / 1.432 GB, free: 496 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.5539, allocations: 19.92 kB / 1.432 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.554, allocations: 8 kB / 1.432 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.554, allocations: 7.969 kB / 1.432 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.5649, allocations: 5.881 MB / 1.438 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5649, allocations: 4 kB / 1.438 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.5661, allocations: 231.7 kB / 1.438 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.5683, allocations: 0.6675 MB / 1.439 GB, free: 9.484 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.5684, allocations: 32 kB / 1.439 GB, free: 9.453 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.586, allocations: 15.77 MB / 1.454 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.586, allocations: 8 kB / 1.454 GB, free: 8.645 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006946/0.593, allocations: 3.998 MB / 1.458 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.5941, allocations: 386.6 kB / 1.458 GB, free: 4.16 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.5943, allocations: 39.92 kB / 1.458 GB, free: 4.121 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009383/0.5953, allocations: 79.89 kB / 1.458 GB, free: 4.043 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.5956, allocations: 120.7 kB / 1.458 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.5957, allocations: 36 kB / 1.458 GB, free: 3.891 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001475/0.5971, allocations: 0.9942 MB / 1.459 GB, free: 2.906 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5971, allocations: 4 kB / 1.459 GB, free: 2.902 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002114/0.5992, allocations: 0.6875 MB / 1.46 GB, free: 2.215 MB / 1.154 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.007059/0.6063, allocations: 4.593 MB / 1.465 GB, free: 13.5 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005784/0.6121, allocations: 3.381 MB / 1.468 GB, free: 10 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6121, allocations: 0 / 1.468 GB, free: 10 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/0.6156, allocations: 2.245 MB / 1.47 GB, free: 7.637 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.6184, allocations: 0.6846 MB / 1.471 GB, free: 6.969 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03499/0.6534, allocations: 21.29 MB / 1.492 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.6563, allocations: 2.109 MB / 1.494 GB, free: 14.66 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001422/0.6577, allocations: 489.4 kB / 1.494 GB, free: 14.18 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/0.6594, allocations: 1.284 MB / 1.495 GB, free: 12.89 MB / 1.201 GB Notification: Performance of SimCode: time 7.42e-07/0.6594, allocations: 0 / 1.495 GB, free: 12.89 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.156/0.8154, allocations: 61.45 MB / 1.555 GB, free: 436 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.02, allocations: 4.062 kB / 1.555 GB, free: 432 kB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.806157123763114]