Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001287/0.001287, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001428/0.001428, allocations: 218.6 kB / 22.26 MB, free: 5.125 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.98 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.702/2.702, allocations: 476.7 MB / 0.7707 GB, free: 4.281 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_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001965/0.001965, allocations: 68.25 kB / 1.117 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 169.9 MB / 1.283 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04374/0.338, allocations: 36.68 MB / 1.319 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3584, allocations: 11.98 MB / 1.331 GB, free: 3.004 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.3615, allocations: 206.5 kB / 1.331 GB, free: 2.801 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.373, allocations: 4.454 MB / 1.335 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.3785, allocations: 2.088 MB / 1.337 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005769/0.3842, allocations: 2.467 MB / 1.34 GB, free: 9.773 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0104/0.3946, allocations: 8.461 MB / 1.348 GB, free: 1.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.4054, allocations: 6.231 MB / 1.354 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006269/0.4116, allocations: 3.849 MB / 1.358 GB, free: 7.082 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00693/0.4186, allocations: 4.428 MB / 1.362 GB, free: 2.641 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.4205, allocations: 0.7773 MB / 1.363 GB, free: 1.863 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.4253, allocations: 2.071 MB / 1.365 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004288/0.4296, allocations: 3.137 MB / 1.368 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005181/0.4347, allocations: 3.4 MB / 1.371 GB, free: 9.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.4493, allocations: 12 MB / 1.383 GB, free: 13.19 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4493, allocations: 0 / 1.383 GB, free: 13.19 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4493, allocations: 0 / 1.383 GB, free: 13.19 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002788/0.4496, allocations: 0 / 1.383 GB, free: 13.19 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01293/0.4625, allocations: 5.875 MB / 1.389 GB, free: 7.25 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4626, allocations: 12.03 kB / 1.389 GB, free: 7.238 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001295/0.4639, allocations: 0.8012 MB / 1.39 GB, free: 6.426 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.4692, allocations: 1.086 MB / 1.391 GB, free: 5.336 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.4765, allocations: 3.422 MB / 1.394 GB, free: 1.848 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.4768, allocations: 415.5 kB / 1.395 GB, free: 1.441 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009921/0.4778, allocations: 0.5393 MB / 1.395 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.4935, allocations: 9.079 MB / 1.404 GB, free: 7.504 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.4937, allocations: 31.72 kB / 1.404 GB, free: 7.473 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008213/0.4945, allocations: 236 kB / 1.404 GB, free: 7.242 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003748/0.4949, allocations: 350.8 kB / 1.405 GB, free: 6.898 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.5068, allocations: 6.83 MB / 1.411 GB, free: 60 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04672/0.5535, allocations: 39.5 MB / 1.45 GB, free: 4.832 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.5572, allocations: 2.313 MB / 1.452 GB, free: 2.531 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.5599, allocations: 1.767 MB / 1.454 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.56, allocations: 22 kB / 1.454 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.56, allocations: 52.56 kB / 1.454 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of pre-optimization done (n=179): time 3.547e-06/0.56, allocations: 0 / 1.454 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of matching and sorting (n=182): time 0.02466/0.5847, allocations: 9.694 MB / 1.463 GB, free: 6.969 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.5847, allocations: 73.41 kB / 1.463 GB, free: 6.883 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.5871, allocations: 1.526 MB / 1.465 GB, free: 5.309 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.5872, allocations: 57.7 kB / 1.465 GB, free: 5.246 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.5889, allocations: 2.327 MB / 1.467 GB, free: 2.895 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/0.5895, allocations: 0.6622 MB / 1.468 GB, free: 2.227 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006481/0.5902, allocations: 408.2 kB / 1.468 GB, free: 1.82 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5903, allocations: 305.1 kB / 1.469 GB, free: 1.52 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.5921, allocations: 1.179 MB / 1.47 GB, free: 344 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.5944, allocations: 1.881 MB / 1.472 GB, free: 14.14 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.599, allocations: 3.371 MB / 1.475 GB, free: 10.46 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.599, allocations: 4 kB / 1.475 GB, free: 10.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007953/0.6069, allocations: 4.543 MB / 1.479 GB, free: 5.891 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.607, allocations: 12 kB / 1.479 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/0.607, allocations: 24 kB / 1.479 GB, free: 5.855 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00386/0.6109, allocations: 1.587 MB / 1.481 GB, free: 4.262 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.6121, allocations: 351.4 kB / 1.481 GB, free: 3.918 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/0.6369, allocations: 18.19 MB / 1.499 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.6385, allocations: 119.9 kB / 1.499 GB, free: 1.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/0.6388, allocations: 95.94 kB / 1.499 GB, free: 1.066 MB / 1.201 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003344/0.6421, allocations: 1.891 MB / 1.501 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/0.6426, allocations: 234.5 kB / 1.501 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007396/0.65, allocations: 4.051 MB / 1.505 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.6501, allocations: 16 kB / 1.505 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-05/0.6501, allocations: 16 kB / 1.505 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.6501, allocations: 11.91 kB / 1.505 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.6673, allocations: 9.394 MB / 1.514 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.6673, allocations: 4.812 kB / 1.514 GB, free: 1.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.6681, allocations: 183.7 kB / 1.515 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003536/0.6717, allocations: 1.363 MB / 1.516 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.6718, allocations: 35.94 kB / 1.516 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02275/0.6945, allocations: 16.97 MB / 1.532 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.6946, allocations: 8 kB / 1.532 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007172/0.7017, allocations: 4.028 MB / 1.536 GB, free: 10.02 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.703, allocations: 474.4 kB / 1.537 GB, free: 9.555 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/0.7034, allocations: 39.98 kB / 1.537 GB, free: 9.516 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7045, allocations: 83.91 kB / 1.537 GB, free: 9.434 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.7049, allocations: 173.5 kB / 1.537 GB, free: 9.262 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.705, allocations: 48 kB / 1.537 GB, free: 9.215 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001548/0.7065, allocations: 1.005 MB / 1.538 GB, free: 8.188 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7065, allocations: 0 / 1.538 GB, free: 8.188 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002897/0.7094, allocations: 0.9921 MB / 1.539 GB, free: 7.195 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007154/0.7166, allocations: 4.63 MB / 1.544 GB, free: 2.469 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006828/0.7234, allocations: 4.171 MB / 1.548 GB, free: 14.24 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7234, allocations: 4.062 kB / 1.548 GB, free: 14.24 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004341/0.7277, allocations: 2.571 MB / 1.55 GB, free: 11.62 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.7312, allocations: 0.7934 MB / 1.551 GB, free: 10.86 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5804/1.312, allocations: 27 MB / 1.577 GB, free: 252.6 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/1.315, allocations: 3.578 MB / 1.581 GB, free: 251.3 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001267/1.317, allocations: 460.6 kB / 1.581 GB, free: 251.3 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/1.318, allocations: 1.787 MB / 1.583 GB, free: 249.7 MB / 1.264 GB Notification: Performance of SimCode: time 1.042e-06/1.318, allocations: 0 / 1.583 GB, free: 249.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.429, allocations: 76.51 MB / 1.658 GB, free: 194.2 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.76, allocations: 7.172 kB / 1.658 GB, free: 194.2 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 23.480970087926835]