Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001847/0.001847, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002306/0.002306, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.801 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.242/3.242, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [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.002182/0.002182, allocations: 69.27 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3925, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04234/0.4348, allocations: 31.71 MB / 1.357 GB, free: 2.082 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02898/0.4638, allocations: 14.45 MB / 1.371 GB, free: 3.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004151/0.468, allocations: 214.4 kB / 1.371 GB, free: 3.379 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.4789, allocations: 3.664 MB / 1.374 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009954/0.4889, allocations: 2.976 MB / 1.377 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007247/0.4961, allocations: 2.35 MB / 1.38 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01335/0.5095, allocations: 8.816 MB / 1.388 GB, free: 1.516 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.5224, allocations: 5.479 MB / 1.394 GB, free: 11.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009526/0.5319, allocations: 4.211 MB / 1.398 GB, free: 7.691 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008395/0.5403, allocations: 3.936 MB / 1.402 GB, free: 3.742 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002644/0.5429, allocations: 0.7148 MB / 1.402 GB, free: 3.027 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006027/0.549, allocations: 1.611 MB / 1.404 GB, free: 1.414 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.007573/0.5565, allocations: 2.895 MB / 1.407 GB, free: 14.51 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/0.5674, allocations: 2.747 MB / 1.409 GB, free: 11.75 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.03051/0.5979, allocations: 11.25 MB / 1.42 GB, free: 480 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.5979, allocations: 0 / 1.42 GB, free: 480 kB / 1.107 GB Notification: Performance of FrontEnd: time 2.604e-06/0.5979, allocations: 0 / 1.42 GB, free: 480 kB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004172/0.5984, allocations: 4 kB / 1.42 GB, free: 476 kB / 1.107 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.03051/0.6289, allocations: 6.033 MB / 1.426 GB, free: 10.36 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.266e-05/0.629, allocations: 8.031 kB / 1.426 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.645, allocations: 1.172 MB / 1.427 GB, free: 9.18 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.6621, allocations: 3.454 MB / 1.431 GB, free: 5.637 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007232/0.6629, allocations: 370.4 kB / 1.431 GB, free: 5.273 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003042/0.6659, allocations: 496 kB / 1.432 GB, free: 4.789 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/0.6989, allocations: 8.701 MB / 1.44 GB, free: 11.65 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002804/0.6992, allocations: 23.78 kB / 1.44 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001771/0.701, allocations: 216 kB / 1.44 GB, free: 11.41 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002023/0.703, allocations: 445.5 kB / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02218/0.7252, allocations: 6.077 MB / 1.447 GB, free: 4.887 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06595/0.7911, allocations: 21.23 MB / 1.467 GB, free: 15.17 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.7966, allocations: 1.913 MB / 1.469 GB, free: 13.25 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004803/0.8014, allocations: 1.736 MB / 1.471 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.8016, allocations: 18 kB / 1.471 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.69e-05/0.8017, allocations: 60.56 kB / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 7.023e-06/0.8017, allocations: 0 / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.2138/1.015, allocations: 38.68 MB / 1.509 GB, free: 4.699 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.016, allocations: 85.56 kB / 1.509 GB, free: 4.602 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/1.02, allocations: 2.039 MB / 1.511 GB, free: 2.543 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005096/1.021, allocations: 69.7 kB / 1.511 GB, free: 2.469 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002241/1.023, allocations: 2.352 MB / 1.513 GB, free: 96 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/1.024, allocations: 0.98 MB / 1.514 GB, free: 15.1 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/1.026, allocations: 0.5063 MB / 1.515 GB, free: 14.59 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.026, allocations: 305.1 kB / 1.515 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/1.029, allocations: 1.973 MB / 1.517 GB, free: 12.31 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.033, allocations: 2.602 MB / 1.519 GB, free: 9.461 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008003/1.041, allocations: 4.933 MB / 1.524 GB, free: 4.254 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/1.041, allocations: 4 kB / 1.524 GB, free: 4.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01703/1.059, allocations: 7.623 MB / 1.532 GB, free: 12.56 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/1.059, allocations: 15.98 kB / 1.532 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/1.059, allocations: 20 kB / 1.532 GB, free: 12.53 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009961/1.069, allocations: 3.209 MB / 1.535 GB, free: 9.301 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/1.07, allocations: 399.4 kB / 1.535 GB, free: 8.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05093/1.121, allocations: 32.57 MB / 1.567 GB, free: 7.727 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/1.125, allocations: 163.8 kB / 1.567 GB, free: 7.566 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003855/1.125, allocations: 116 kB / 1.567 GB, free: 7.453 MB / 1.264 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.003485/1.128, allocations: 1.797 MB / 1.569 GB, free: 5.645 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007834/1.129, allocations: 314.1 kB / 1.569 GB, free: 5.336 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.144, allocations: 7.232 MB / 1.576 GB, free: 14.02 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/1.145, allocations: 24 kB / 1.576 GB, free: 14 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-05/1.145, allocations: 32 kB / 1.576 GB, free: 13.96 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.041e-05/1.145, allocations: 15.89 kB / 1.576 GB, free: 13.95 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/1.171, allocations: 11.4 MB / 1.588 GB, free: 2.402 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.171, allocations: 4 kB / 1.588 GB, free: 2.398 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.172, allocations: 231.6 kB / 1.588 GB, free: 2.172 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008851/1.181, allocations: 2.841 MB / 1.591 GB, free: 15.31 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.181, allocations: 48.38 kB / 1.591 GB, free: 15.26 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7745/1.955, allocations: 31.35 MB / 1.621 GB, free: 250.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/1.955, allocations: 11.22 kB / 1.621 GB, free: 250.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/1.974, allocations: 6.756 MB / 1.628 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003017/1.977, allocations: 0.6928 MB / 1.629 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.979, allocations: 56.14 kB / 1.629 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.982, allocations: 168.8 kB / 1.629 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/1.983, allocations: 266.9 kB / 1.629 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000364/1.984, allocations: 76.08 kB / 1.629 GB, free: 247.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003866/1.988, allocations: 1.334 MB / 1.63 GB, free: 247.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.4e-07/1.988, allocations: 0 / 1.63 GB, free: 247.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007564/1.995, allocations: 1.366 MB / 1.632 GB, free: 247 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.0006677/1.996, allocations: 174.9 kB / 1.632 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01653/2.012, allocations: 6.559 MB / 1.638 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/2.012, allocations: 2.812 kB / 1.638 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0104/2.023, allocations: 4.267 MB / 1.642 GB, free: 241.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006741/2.03, allocations: 1.012 MB / 1.643 GB, free: 241.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/2.052, allocations: 10.34 MB / 1.654 GB, free: 237.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005544/2.058, allocations: 3.12 MB / 1.657 GB, free: 236.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002945/2.061, allocations: 0.521 MB / 1.657 GB, free: 236.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/2.061, allocations: 145.9 kB / 1.657 GB, free: 236.2 MB / 1.295 GB Notification: Performance of SimCode: time 2.274e-06/2.061, allocations: 0 / 1.657 GB, free: 236.2 MB / 1.295 GB Notification: Performance of Templates: time 0.1148/2.176, allocations: 81.98 MB / 1.737 GB, free: 159.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.938688714057207]