Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001403/0.001403, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001695/0.001695, allocations: 219.8 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.672/2.672, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.00198/0.00198, allocations: 68.39 kB / 1.118 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2862, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04646/0.3327, allocations: 39.8 MB / 1.323 GB, free: 3.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.3537, allocations: 11.45 MB / 1.334 GB, free: 8.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.3574, allocations: 202.5 kB / 1.334 GB, free: 8.141 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.3688, allocations: 4.551 MB / 1.339 GB, free: 3.582 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.3754, allocations: 2.336 MB / 1.341 GB, free: 1.234 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00567/0.381, allocations: 2.247 MB / 1.343 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.3925, allocations: 9.281 MB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.4027, allocations: 6.404 MB / 1.359 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006263/0.409, allocations: 4.102 MB / 1.363 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007739/0.4167, allocations: 4.755 MB / 1.367 GB, free: 6.277 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.4186, allocations: 0.8242 MB / 1.368 GB, free: 5.453 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.4222, allocations: 1.607 MB / 1.37 GB, free: 3.844 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003418/0.4256, allocations: 3.238 MB / 1.373 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006912/0.4325, allocations: 3.657 MB / 1.376 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.4474, allocations: 12.34 MB / 1.388 GB, free: 0.543 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.4474, allocations: 4 kB / 1.388 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4474, allocations: 0 / 1.388 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002759/0.4477, allocations: 0 / 1.388 GB, free: 0.5391 MB / 1.076 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.01436/0.4621, allocations: 6.399 MB / 1.395 GB, free: 10.07 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4621, allocations: 12.03 kB / 1.395 GB, free: 10.06 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001409/0.4622, allocations: 151.6 kB / 1.395 GB, free: 9.914 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001248/0.4635, allocations: 0.8294 MB / 1.396 GB, free: 9.074 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.4683, allocations: 1.094 MB / 1.397 GB, free: 7.977 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/0.4756, allocations: 3.579 MB / 1.4 GB, free: 4.336 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.4759, allocations: 427.7 kB / 1.401 GB, free: 3.918 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.4769, allocations: 0.5355 MB / 1.401 GB, free: 3.383 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.4939, allocations: 9.385 MB / 1.41 GB, free: 9.664 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.4941, allocations: 19.83 kB / 1.41 GB, free: 9.645 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006686/0.4947, allocations: 248 kB / 1.411 GB, free: 9.402 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006103/0.4953, allocations: 422.9 kB / 1.411 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.5088, allocations: 7.127 MB / 1.418 GB, free: 1.852 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04681/0.5556, allocations: 40.7 MB / 1.458 GB, free: 5.402 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.5601, allocations: 2.921 MB / 1.461 GB, free: 2.484 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.5629, allocations: 1.934 MB / 1.462 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.902e-05/0.563, allocations: 22 kB / 1.462 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.5631, allocations: 60.56 kB / 1.463 GB, free: 468 kB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 3.527e-06/0.5631, allocations: 0 / 1.463 GB, free: 468 kB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02362/0.5867, allocations: 10.28 MB / 1.473 GB, free: 6.16 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.5868, allocations: 73.41 kB / 1.473 GB, free: 6.074 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.5894, allocations: 2.002 MB / 1.475 GB, free: 4.055 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.5895, allocations: 61.7 kB / 1.475 GB, free: 3.988 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/0.5912, allocations: 2.478 MB / 1.477 GB, free: 1.484 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000663/0.5919, allocations: 0.7707 MB / 1.478 GB, free: 0.707 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007377/0.5926, allocations: 489.5 kB / 1.478 GB, free: 228 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5928, allocations: 301.1 kB / 1.479 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.5948, allocations: 1.379 MB / 1.48 GB, free: 14.54 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.5973, allocations: 2.1 MB / 1.482 GB, free: 12.12 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004839/0.6021, allocations: 3.766 MB / 1.486 GB, free: 8.047 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.6022, allocations: 8 kB / 1.486 GB, free: 8.039 MB / 1.186 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008407/0.6106, allocations: 5.023 MB / 1.491 GB, free: 2.992 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.6106, allocations: 19.94 kB / 1.491 GB, free: 2.973 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.6106, allocations: 24.12 kB / 1.491 GB, free: 2.949 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003683/0.6143, allocations: 1.592 MB / 1.492 GB, free: 1.352 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.616, allocations: 451.2 kB / 1.493 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/0.6397, allocations: 18.17 MB / 1.51 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.642, allocations: 151.8 kB / 1.51 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.6423, allocations: 104 kB / 1.511 GB, free: 14.04 MB / 1.217 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.003192/0.6455, allocations: 1.941 MB / 1.512 GB, free: 12.08 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/0.6461, allocations: 302.2 kB / 1.513 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007298/0.6534, allocations: 4.408 MB / 1.517 GB, free: 7.348 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.6534, allocations: 20 kB / 1.517 GB, free: 7.328 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/0.6534, allocations: 16 kB / 1.517 GB, free: 7.312 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.6534, allocations: 11.91 kB / 1.517 GB, free: 7.301 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.6683, allocations: 9.601 MB / 1.526 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6683, allocations: 4 kB / 1.526 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/0.6693, allocations: 231.6 kB / 1.527 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.6726, allocations: 1.435 MB / 1.528 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.6727, allocations: 40 kB / 1.528 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02317/0.6959, allocations: 18.19 MB / 1.546 GB, free: 9.191 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.6959, allocations: 8 kB / 1.546 GB, free: 9.184 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/0.7037, allocations: 4.499 MB / 1.55 GB, free: 4.598 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.7053, allocations: 0.5722 MB / 1.551 GB, free: 4.023 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.7056, allocations: 44 kB / 1.551 GB, free: 3.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.7069, allocations: 111.9 kB / 1.551 GB, free: 3.871 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/0.7073, allocations: 193.5 kB / 1.551 GB, free: 3.684 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.7075, allocations: 60 kB / 1.551 GB, free: 3.625 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001839/0.7093, allocations: 1.315 MB / 1.553 GB, free: 2.301 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7093, allocations: 0 / 1.553 GB, free: 2.301 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002906/0.7122, allocations: 1.141 MB / 1.554 GB, free: 1.16 MB / 1.248 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.007362/0.7196, allocations: 5.129 MB / 1.559 GB, free: 11.93 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007499/0.7271, allocations: 4.532 MB / 1.563 GB, free: 7.355 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.7271, allocations: 1 kB / 1.563 GB, free: 7.355 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0047/0.7318, allocations: 2.808 MB / 1.566 GB, free: 4.492 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/0.7358, allocations: 0.8981 MB / 1.567 GB, free: 3.609 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05155/0.7874, allocations: 30.58 MB / 1.597 GB, free: 3.816 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004871/0.7923, allocations: 3.698 MB / 1.6 GB, free: 84 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001981/0.7942, allocations: 0.5517 MB / 1.601 GB, free: 15.52 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/0.7967, allocations: 1.944 MB / 1.603 GB, free: 13.58 MB / 1.311 GB Notification: Performance of SimCode: time 1.263e-06/0.7967, allocations: 0 / 1.603 GB, free: 13.58 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7634/1.56, allocations: 88.25 MB / 1.689 GB, free: 262.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.99, allocations: 6.5 kB / 1.689 GB, free: 262.2 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.444863105018158]