Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 201.1 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7558, allocations: 168.7 MB / 1.274 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03812/0.7939, allocations: 32.14 MB / 1.305 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.8165, allocations: 13.97 MB / 1.319 GB, free: 6.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.8194, allocations: 143.2 kB / 1.319 GB, free: 6.109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008638/0.8281, allocations: 3.308 MB / 1.322 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.8355, allocations: 2.789 MB / 1.325 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.8408, allocations: 2.056 MB / 1.327 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.8508, allocations: 7.612 MB / 1.335 GB, free: 6.305 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007082/0.8579, allocations: 4.249 MB / 1.339 GB, free: 1.934 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.8635, allocations: 3.467 MB / 1.342 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006104/0.8696, allocations: 3.57 MB / 1.346 GB, free: 10.88 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001511/0.8711, allocations: 0.6015 MB / 1.346 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.8748, allocations: 1.517 MB / 1.348 GB, free: 8.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00323/0.878, allocations: 2.431 MB / 1.35 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004675/0.8827, allocations: 2.882 MB / 1.353 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.8952, allocations: 9.484 MB / 1.362 GB, free: 9.906 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.8952, allocations: 4 kB / 1.362 GB, free: 9.902 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8952, allocations: 0 / 1.362 GB, free: 9.902 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002213/0.8954, allocations: 0 / 1.362 GB, free: 9.902 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01101/0.9064, allocations: 5.27 MB / 1.367 GB, free: 4.547 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.9065, allocations: 8.031 kB / 1.367 GB, free: 4.539 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005842/0.9123, allocations: 1.016 MB / 1.368 GB, free: 3.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00718/0.9195, allocations: 3.093 MB / 1.371 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.9198, allocations: 320.8 kB / 1.372 GB, free: 32 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000859/0.9206, allocations: 432 kB / 1.372 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.9338, allocations: 6.784 MB / 1.379 GB, free: 8.531 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.9339, allocations: 19.83 kB / 1.379 GB, free: 8.512 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000513/0.9344, allocations: 184 kB / 1.379 GB, free: 8.332 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/0.9355, allocations: 376 kB / 1.379 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.9466, allocations: 5.114 MB / 1.384 GB, free: 2.828 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/0.9917, allocations: 30.57 MB / 1.414 GB, free: 1.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.9939, allocations: 1.317 MB / 1.415 GB, free: 176 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.9957, allocations: 1.25 MB / 1.417 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/0.9958, allocations: 13.31 kB / 1.417 GB, free: 14.91 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.9959, allocations: 51.81 kB / 1.417 GB, free: 14.85 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 3.497e-06/0.9959, allocations: 0 / 1.417 GB, free: 14.85 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.09606/1.092, allocations: 23.08 MB / 1.439 GB, free: 7.652 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/1.092, allocations: 69.41 kB / 1.439 GB, free: 7.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/1.096, allocations: 2.07 MB / 1.441 GB, free: 5.484 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003424/1.096, allocations: 57.7 kB / 1.441 GB, free: 5.422 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00177/1.098, allocations: 2.066 MB / 1.443 GB, free: 3.336 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008988/1.099, allocations: 0.7087 MB / 1.444 GB, free: 2.621 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009234/1.1, allocations: 412.4 kB / 1.444 GB, free: 2.211 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.1, allocations: 305.1 kB / 1.445 GB, free: 1.91 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/1.102, allocations: 1.43 MB / 1.446 GB, free: 488 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/1.105, allocations: 2.014 MB / 1.448 GB, free: 14.21 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005575/1.111, allocations: 3.696 MB / 1.452 GB, free: 10.28 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/1.111, allocations: 4 kB / 1.452 GB, free: 10.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01209/1.123, allocations: 5.596 MB / 1.457 GB, free: 4.609 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.123, allocations: 15.94 kB / 1.457 GB, free: 4.594 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/1.123, allocations: 24 kB / 1.457 GB, free: 4.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007175/1.13, allocations: 2.092 MB / 1.459 GB, free: 2.426 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.132, allocations: 371.4 kB / 1.46 GB, free: 2.062 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04602/1.178, allocations: 38.45 MB / 1.497 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/1.181, allocations: 135.9 kB / 1.497 GB, free: 8.949 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/1.181, allocations: 92 kB / 1.497 GB, free: 8.859 MB / 1.201 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.003047/1.184, allocations: 1.507 MB / 1.499 GB, free: 7.344 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007468/1.185, allocations: 294.2 kB / 1.499 GB, free: 7.055 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.196, allocations: 5.149 MB / 1.504 GB, free: 1.828 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/1.196, allocations: 16 kB / 1.504 GB, free: 1.812 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-05/1.196, allocations: 20 kB / 1.504 GB, free: 1.793 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/1.196, allocations: 19.78 kB / 1.504 GB, free: 1.773 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/1.219, allocations: 9.607 MB / 1.514 GB, free: 7.961 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.219, allocations: 4 kB / 1.514 GB, free: 7.957 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/1.22, allocations: 211.6 kB / 1.514 GB, free: 7.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006248/1.226, allocations: 1.846 MB / 1.516 GB, free: 5.848 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.226, allocations: 40 kB / 1.516 GB, free: 5.809 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04459/1.271, allocations: 37.46 MB / 1.552 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.271, allocations: 8 kB / 1.552 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.281, allocations: 4.852 MB / 1.557 GB, free: 8.789 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.283, allocations: 0.628 MB / 1.558 GB, free: 8.141 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007007/1.284, allocations: 47.92 kB / 1.558 GB, free: 8.094 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/1.286, allocations: 131.9 kB / 1.558 GB, free: 7.965 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006565/1.286, allocations: 201.4 kB / 1.558 GB, free: 7.766 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.287, allocations: 56 kB / 1.558 GB, free: 7.711 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002591/1.289, allocations: 1.382 MB / 1.559 GB, free: 6.32 MB / 1.264 GB Notification: Performance of sort global known variables: time 6e-08/1.289, allocations: 0 / 1.559 GB, free: 6.32 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003799/1.293, allocations: 1.043 MB / 1.56 GB, free: 5.277 MB / 1.264 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003937/1.293, allocations: 175 kB / 1.561 GB, free: 5.098 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.304, allocations: 6.01 MB / 1.566 GB, free: 14.86 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.304, allocations: 0 / 1.566 GB, free: 14.86 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.007443/1.312, allocations: 4.281 MB / 1.571 GB, free: 10.34 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/1.316, allocations: 0.9948 MB / 1.572 GB, free: 9.379 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/1.333, allocations: 8.279 MB / 1.58 GB, free: 1.008 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004718/1.338, allocations: 3.128 MB / 1.583 GB, free: 13.84 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001966/1.34, allocations: 0.5198 MB / 1.583 GB, free: 13.32 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/1.34, allocations: 147.4 kB / 1.583 GB, free: 13.18 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/1.34, allocations: 4 kB / 1.583 GB, free: 13.17 MB / 1.295 GB Notification: Performance of Templates: time 0.6968/2.037, allocations: 60.2 MB / 1.642 GB, free: 302.9 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 11.562032473273575]