Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001206/0.001206, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00152/0.00152, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 8.008 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.768/2.768, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.00202/0.00202, allocations: 66.73 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2941, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04451/0.3387, allocations: 34.82 MB / 1.317 GB, free: 8.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02609/0.3648, allocations: 15.32 MB / 1.332 GB, free: 9.367 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.3679, allocations: 210.4 kB / 1.333 GB, free: 9.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.378, allocations: 3.809 MB / 1.336 GB, free: 5.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008701/0.3867, allocations: 3.023 MB / 1.339 GB, free: 2.301 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007067/0.3937, allocations: 2.385 MB / 1.342 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01365/0.4074, allocations: 8.808 MB / 1.35 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.4183, allocations: 5.557 MB / 1.356 GB, free: 1.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00743/0.4258, allocations: 4.199 MB / 1.36 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007442/0.4332, allocations: 4.193 MB / 1.364 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002203/0.4354, allocations: 0.7187 MB / 1.364 GB, free: 8.273 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004887/0.4403, allocations: 1.744 MB / 1.366 GB, free: 6.527 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004614/0.4449, allocations: 2.884 MB / 1.369 GB, free: 3.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006891/0.4518, allocations: 3.384 MB / 1.372 GB, free: 244 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/0.4684, allocations: 11.19 MB / 1.383 GB, free: 5.012 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4684, allocations: 0 / 1.383 GB, free: 5.012 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4684, allocations: 0 / 1.383 GB, free: 5.012 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003506/0.4688, allocations: 0 / 1.383 GB, free: 5.012 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0173/0.4861, allocations: 6.037 MB / 1.389 GB, free: 14.91 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4861, allocations: 16.03 kB / 1.389 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002314/0.4885, allocations: 0.731 MB / 1.39 GB, free: 14.15 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007655/0.4961, allocations: 1.168 MB / 1.391 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008425/0.5045, allocations: 3.454 MB / 1.394 GB, free: 9.438 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.5049, allocations: 370.4 kB / 1.395 GB, free: 9.074 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.5065, allocations: 499.9 kB / 1.395 GB, free: 8.586 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.5238, allocations: 7.974 MB / 1.403 GB, free: 356 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/0.524, allocations: 27.72 kB / 1.403 GB, free: 328 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001107/0.5251, allocations: 216 kB / 1.403 GB, free: 112 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.5262, allocations: 441.6 kB / 1.404 GB, free: 15.67 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.5389, allocations: 6.081 MB / 1.41 GB, free: 9.578 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04699/0.5858, allocations: 34.65 MB / 1.443 GB, free: 3.742 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.5889, allocations: 1.913 MB / 1.445 GB, free: 1.82 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.5918, allocations: 1.74 MB / 1.447 GB, free: 80 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.592, allocations: 21.94 kB / 1.447 GB, free: 56 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.552e-05/0.5921, allocations: 60.7 kB / 1.447 GB, free: 15.98 MB / 1.154 GB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/0.5921, allocations: 7.938 kB / 1.447 GB, free: 15.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=276): time 0.154/0.746, allocations: 38.7 MB / 1.485 GB, free: 9.211 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.7461, allocations: 81.58 kB / 1.485 GB, free: 9.117 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/0.7508, allocations: 2.274 MB / 1.487 GB, free: 6.828 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003635/0.7511, allocations: 73.7 kB / 1.487 GB, free: 6.75 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/0.7533, allocations: 2.342 MB / 1.49 GB, free: 4.391 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.7544, allocations: 0.9798 MB / 1.49 GB, free: 3.402 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.7557, allocations: 0.5142 MB / 1.491 GB, free: 2.879 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7559, allocations: 305.1 kB / 1.491 GB, free: 2.578 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.7592, allocations: 1.973 MB / 1.493 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/0.7632, allocations: 2.603 MB / 1.496 GB, free: 13.75 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007665/0.7709, allocations: 4.929 MB / 1.501 GB, free: 8.551 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.7709, allocations: 8 kB / 1.501 GB, free: 8.543 MB / 1.201 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01633/0.7873, allocations: 7.65 MB / 1.508 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.7873, allocations: 12 kB / 1.508 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.7873, allocations: 16 kB / 1.508 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.7976, allocations: 3.224 MB / 1.511 GB, free: 13.56 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.7993, allocations: 403.3 kB / 1.512 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05179/0.8511, allocations: 33.29 MB / 1.544 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.8539, allocations: 159.8 kB / 1.544 GB, free: 11.03 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/0.8544, allocations: 112 kB / 1.544 GB, free: 10.92 MB / 1.248 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003674/0.858, allocations: 1.793 MB / 1.546 GB, free: 9.113 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009519/0.859, allocations: 345.9 kB / 1.546 GB, free: 8.773 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/0.8746, allocations: 7.24 MB / 1.554 GB, free: 1.453 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.8746, allocations: 24 kB / 1.554 GB, free: 1.43 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.239e-05/0.8747, allocations: 32 kB / 1.554 GB, free: 1.398 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.8747, allocations: 15.95 kB / 1.554 GB, free: 1.383 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/0.9003, allocations: 12.79 MB / 1.566 GB, free: 4.422 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.9003, allocations: 8.781 kB / 1.566 GB, free: 4.414 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.9013, allocations: 235.6 kB / 1.566 GB, free: 4.184 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008584/0.9099, allocations: 2.854 MB / 1.569 GB, free: 1.312 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/0.9101, allocations: 52 kB / 1.569 GB, free: 1.262 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05057/0.9607, allocations: 32.08 MB / 1.6 GB, free: 484 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.9607, allocations: 8 kB / 1.6 GB, free: 476 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6476/1.608, allocations: 6.78 MB / 1.607 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/1.611, allocations: 0.7251 MB / 1.608 GB, free: 289 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005733/1.611, allocations: 57.23 kB / 1.608 GB, free: 289 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/1.613, allocations: 168.4 kB / 1.608 GB, free: 289 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000909/1.614, allocations: 258.6 kB / 1.608 GB, free: 289 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.614, allocations: 75.28 kB / 1.608 GB, free: 289 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002866/1.617, allocations: 1.527 MB / 1.61 GB, free: 288.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.617, allocations: 3.938 kB / 1.61 GB, free: 288.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004446/1.622, allocations: 1.371 MB / 1.611 GB, free: 288.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01241/1.634, allocations: 7.415 MB / 1.618 GB, free: 286.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.645, allocations: 6.568 MB / 1.625 GB, free: 284 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.645, allocations: 0 / 1.625 GB, free: 284 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00682/1.652, allocations: 4.243 MB / 1.629 GB, free: 282 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/1.657, allocations: 1.119 MB / 1.63 GB, free: 281.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05836/1.715, allocations: 39.08 MB / 1.668 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005553/1.72, allocations: 3.64 MB / 1.672 GB, free: 250.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002371/1.723, allocations: 0.5612 MB / 1.672 GB, free: 249.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002328/1.725, allocations: 1.975 MB / 1.674 GB, free: 247.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.272e-06/1.725, allocations: 0 / 1.674 GB, free: 247.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1727/1.898, allocations: 115.4 MB / 1.787 GB, free: 133.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.33/20.23, allocations: 7.328 kB / 1.787 GB, free: 133.8 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 27.284183881012723]