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.001266/0.001266, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001395/0.001395, allocations: 217 kB / 23.04 MB, free: 5.074 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.031/3.031, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",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="cs",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.001987/0.001987, allocations: 63.66 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3397, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03339/0.3731, allocations: 27.95 MB / 1.354 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.3885, allocations: 8.387 MB / 1.362 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.391, allocations: 154.8 kB / 1.362 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007725/0.3988, allocations: 2.882 MB / 1.365 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006078/0.4048, allocations: 1.675 MB / 1.367 GB, free: 8.797 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.4102, allocations: 1.721 MB / 1.368 GB, free: 7.078 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009586/0.4198, allocations: 6.139 MB / 1.374 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007603/0.4274, allocations: 3.781 MB / 1.378 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00513/0.4325, allocations: 2.648 MB / 1.381 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005645/0.4381, allocations: 3.01 MB / 1.384 GB, free: 7.363 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.4397, allocations: 0.5117 MB / 1.384 GB, free: 6.852 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.4433, allocations: 1.299 MB / 1.385 GB, free: 5.551 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003379/0.4467, allocations: 2.104 MB / 1.387 GB, free: 3.441 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005089/0.4518, allocations: 2.385 MB / 1.39 GB, free: 1.047 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.4642, allocations: 8.079 MB / 1.398 GB, free: 8.941 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4642, allocations: 0 / 1.398 GB, free: 8.941 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4642, allocations: 4 kB / 1.398 GB, free: 8.938 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002939/0.4645, allocations: 0 / 1.398 GB, free: 8.938 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.01327/0.4777, allocations: 4.253 MB / 1.402 GB, free: 4.633 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4778, allocations: 15.97 kB / 1.402 GB, free: 4.617 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001124/0.4779, allocations: 99.48 kB / 1.402 GB, free: 4.52 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009553/0.4788, allocations: 0.5343 MB / 1.402 GB, free: 3.977 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.4832, allocations: 0.8218 MB / 1.403 GB, free: 3.152 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00649/0.4897, allocations: 2.534 MB / 1.406 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.4899, allocations: 267.6 kB / 1.406 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.4912, allocations: 380.2 kB / 1.406 GB, free: 15.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.5032, allocations: 5.988 MB / 1.412 GB, free: 9.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.5033, allocations: 23.81 kB / 1.412 GB, free: 9.656 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004302/0.5037, allocations: 168 kB / 1.412 GB, free: 9.492 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006564/0.5044, allocations: 278.9 kB / 1.413 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008907/0.5133, allocations: 4.52 MB / 1.417 GB, free: 4.691 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03462/0.5479, allocations: 27.24 MB / 1.444 GB, free: 6.938 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.5496, allocations: 1.055 MB / 1.445 GB, free: 5.875 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.551, allocations: 0.961 MB / 1.446 GB, free: 4.914 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.5511, allocations: 17 kB / 1.446 GB, free: 4.898 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.5511, allocations: 47.56 kB / 1.446 GB, free: 4.844 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.446e-06/0.5511, allocations: 0 / 1.446 GB, free: 4.844 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02217/0.5733, allocations: 9.093 MB / 1.455 GB, free: 11.69 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.5733, allocations: 64.72 kB / 1.455 GB, free: 11.61 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.5755, allocations: 1.494 MB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.5757, allocations: 53.7 kB / 1.456 GB, free: 10.06 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.5772, allocations: 1.715 MB / 1.458 GB, free: 8.328 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005296/0.5777, allocations: 491.8 kB / 1.458 GB, free: 7.844 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005549/0.5783, allocations: 335.4 kB / 1.459 GB, free: 7.508 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5784, allocations: 305.1 kB / 1.459 GB, free: 7.207 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.5798, allocations: 0.9135 MB / 1.46 GB, free: 6.293 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.5817, allocations: 1.467 MB / 1.461 GB, free: 4.586 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/0.5853, allocations: 2.542 MB / 1.464 GB, free: 1.805 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5853, allocations: 4 kB / 1.464 GB, free: 1.801 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006155/0.5914, allocations: 3.283 MB / 1.467 GB, free: 14.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.5915, allocations: 12 kB / 1.467 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.5915, allocations: 16 kB / 1.467 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/0.5938, allocations: 0.7454 MB / 1.468 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5954, allocations: 379.4 kB / 1.468 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/0.6141, allocations: 16.13 MB / 1.484 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.6158, allocations: 103.9 kB / 1.484 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.616, allocations: 80.06 kB / 1.484 GB, free: 11.96 MB / 1.186 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.002373/0.6183, allocations: 1.302 MB / 1.485 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/0.6188, allocations: 210.7 kB / 1.485 GB, free: 10.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/0.6244, allocations: 2.773 MB / 1.488 GB, free: 7.629 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.6244, allocations: 12 kB / 1.488 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.6245, allocations: 8 kB / 1.488 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.6245, allocations: 11.91 kB / 1.488 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.6357, allocations: 6.166 MB / 1.494 GB, free: 1.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6357, allocations: 8 kB / 1.494 GB, free: 1.262 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.6369, allocations: 231.7 kB / 1.494 GB, free: 1.035 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.639, allocations: 0.6788 MB / 1.495 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.965e-05/0.6391, allocations: 28 kB / 1.495 GB, free: 308 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.6559, allocations: 15.87 MB / 1.511 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.6559, allocations: 11.98 kB / 1.511 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006677/0.6626, allocations: 4.001 MB / 1.515 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.6637, allocations: 390.6 kB / 1.515 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.6639, allocations: 32 kB / 1.515 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009037/0.6648, allocations: 83.89 kB / 1.515 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003329/0.6652, allocations: 120.7 kB / 1.515 GB, free: 10.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/0.6653, allocations: 40 kB / 1.515 GB, free: 10.62 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001434/0.6667, allocations: 0.9942 MB / 1.516 GB, free: 9.637 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6667, allocations: 3.938 kB / 1.516 GB, free: 9.633 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002267/0.669, allocations: 0.6836 MB / 1.517 GB, free: 8.949 MB / 1.217 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.006802/0.6758, allocations: 4.597 MB / 1.521 GB, free: 4.23 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005589/0.6814, allocations: 3.378 MB / 1.525 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.6814, allocations: 0 / 1.525 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.6849, allocations: 2.241 MB / 1.527 GB, free: 14.38 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.688, allocations: 0.6872 MB / 1.527 GB, free: 13.71 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03683/0.7248, allocations: 21.3 MB / 1.548 GB, free: 7.535 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/0.7279, allocations: 2.668 MB / 1.551 GB, free: 4.836 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001536/0.7294, allocations: 485.4 kB / 1.551 GB, free: 4.359 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/0.7311, allocations: 1.28 MB / 1.553 GB, free: 3.082 MB / 1.248 GB Notification: Performance of SimCode: time 8.82e-07/0.7311, allocations: 0 / 1.553 GB, free: 3.082 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8005/1.532, allocations: 59.13 MB / 1.61 GB, free: 255.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.85, allocations: 7.281 kB / 1.61 GB, free: 255.4 MB / 1.295 GB " [Timeout remaining time 284] (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: 23.25136959902011]