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.00134/0.00134, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.001401/0.001401, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.184/3.184, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 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.002122/0.002122, allocations: 80.69 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3354, allocations: 176.1 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04348/0.3789, allocations: 33.86 MB / 1.354 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.4056, allocations: 15 MB / 1.369 GB, free: 1.781 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003906/0.4095, allocations: 210.4 kB / 1.369 GB, free: 1.574 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.4203, allocations: 3.709 MB / 1.373 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009765/0.43, allocations: 2.988 MB / 1.376 GB, free: 10.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00715/0.4372, allocations: 2.342 MB / 1.378 GB, free: 8.508 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01471/0.4519, allocations: 8.811 MB / 1.387 GB, free: 15.67 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.4644, allocations: 7.223 MB / 1.394 GB, free: 8.328 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00949/0.4739, allocations: 4.191 MB / 1.398 GB, free: 4.125 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008351/0.4822, allocations: 4.201 MB / 1.402 GB, free: 15.91 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.4846, allocations: 0.7109 MB / 1.403 GB, free: 15.2 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/0.4894, allocations: 1.74 MB / 1.404 GB, free: 13.46 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0043/0.4937, allocations: 2.891 MB / 1.407 GB, free: 10.56 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007639/0.5013, allocations: 3.38 MB / 1.41 GB, free: 7.164 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.5166, allocations: 11.19 MB / 1.421 GB, free: 11.94 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5166, allocations: 3.938 kB / 1.421 GB, free: 11.94 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5166, allocations: 0 / 1.421 GB, free: 11.94 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003206/0.5169, allocations: 0 / 1.421 GB, free: 11.94 MB / 1.123 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.01365/0.5306, allocations: 6.114 MB / 1.427 GB, free: 5.742 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5306, allocations: 11.97 kB / 1.427 GB, free: 5.73 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006977/0.5376, allocations: 1.168 MB / 1.428 GB, free: 4.559 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007836/0.5454, allocations: 3.522 MB / 1.432 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.5458, allocations: 378.3 kB / 1.432 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.5472, allocations: 0.4883 MB / 1.433 GB, free: 104 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.5663, allocations: 7.977 MB / 1.441 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.5664, allocations: 19.88 kB / 1.441 GB, free: 7.84 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006769/0.5671, allocations: 216 kB / 1.441 GB, free: 7.629 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001217/0.5683, allocations: 445.5 kB / 1.441 GB, free: 7.191 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.5813, allocations: 6.077 MB / 1.447 GB, free: 1.102 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04598/0.6273, allocations: 34.96 MB / 1.481 GB, free: 10.97 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.6303, allocations: 1.917 MB / 1.483 GB, free: 9.039 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.6331, allocations: 1.752 MB / 1.485 GB, free: 7.293 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.6332, allocations: 22 kB / 1.485 GB, free: 7.27 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/0.6333, allocations: 60.5 kB / 1.485 GB, free: 7.203 MB / 1.186 GB Notification: Performance of pre-optimization done (n=171): time 3.627e-06/0.6333, allocations: 0 / 1.485 GB, free: 7.203 MB / 1.186 GB Notification: Performance of matching and sorting (n=276): time 0.1615/0.7948, allocations: 38.85 MB / 1.523 GB, free: 252 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.7948, allocations: 77.58 kB / 1.523 GB, free: 160 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/0.7986, allocations: 2.286 MB / 1.525 GB, free: 13.86 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/0.799, allocations: 73.7 kB / 1.525 GB, free: 13.78 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.8009, allocations: 2.338 MB / 1.527 GB, free: 11.42 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.8021, allocations: 0.9799 MB / 1.528 GB, free: 10.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.8033, allocations: 0.5103 MB / 1.529 GB, free: 9.91 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8035, allocations: 305.1 kB / 1.529 GB, free: 9.609 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/0.8065, allocations: 1.973 MB / 1.531 GB, free: 7.633 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/0.8101, allocations: 2.599 MB / 1.534 GB, free: 4.789 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/0.8173, allocations: 4.925 MB / 1.539 GB, free: 15.59 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.8173, allocations: 12 kB / 1.539 GB, free: 15.58 MB / 1.248 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01575/0.8331, allocations: 7.646 MB / 1.546 GB, free: 7.863 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.8331, allocations: 12 kB / 1.546 GB, free: 7.852 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/0.8331, allocations: 20 kB / 1.546 GB, free: 7.832 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.8432, allocations: 3.213 MB / 1.549 GB, free: 4.602 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.845, allocations: 403.3 kB / 1.55 GB, free: 4.207 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0525/0.8975, allocations: 33.9 MB / 1.583 GB, free: 1.457 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.9007, allocations: 167.8 kB / 1.583 GB, free: 1.293 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004958/0.9012, allocations: 112 kB / 1.583 GB, free: 1.184 MB / 1.279 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.003421/0.9046, allocations: 1.797 MB / 1.585 GB, free: 15.37 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008213/0.9054, allocations: 341.9 kB / 1.585 GB, free: 15.04 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/0.921, allocations: 7.247 MB / 1.592 GB, free: 7.707 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.921, allocations: 24 kB / 1.592 GB, free: 7.684 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-05/0.9211, allocations: 36 kB / 1.592 GB, free: 7.648 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/0.9211, allocations: 11.95 kB / 1.592 GB, free: 7.637 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7348/1.656, allocations: 12.8 MB / 1.605 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.656, allocations: 8.859 kB / 1.605 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.657, allocations: 230.2 kB / 1.605 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008733/1.666, allocations: 2.859 MB / 1.608 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/1.666, allocations: 53.92 kB / 1.608 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04404/1.71, allocations: 32.69 MB / 1.64 GB, free: 236.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.71, allocations: 11.72 kB / 1.64 GB, free: 236.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.721, allocations: 6.781 MB / 1.646 GB, free: 233.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.723, allocations: 0.7967 MB / 1.647 GB, free: 233 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/1.723, allocations: 55.53 kB / 1.647 GB, free: 232.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.725, allocations: 170.5 kB / 1.647 GB, free: 232.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/1.726, allocations: 252.1 kB / 1.647 GB, free: 232.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.727, allocations: 77.44 kB / 1.648 GB, free: 232.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002246/1.729, allocations: 1.528 MB / 1.649 GB, free: 232.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.729, allocations: 0 / 1.649 GB, free: 232.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004278/1.733, allocations: 1.368 MB / 1.65 GB, free: 232.1 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.0004286/1.734, allocations: 185.1 kB / 1.651 GB, free: 232 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.744, allocations: 6.561 MB / 1.657 GB, free: 229.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.744, allocations: 0 / 1.657 GB, free: 229.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007186/1.751, allocations: 4.251 MB / 1.661 GB, free: 227 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004914/1.756, allocations: 1.127 MB / 1.662 GB, free: 226.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.772, allocations: 10.24 MB / 1.672 GB, free: 218.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003455/1.775, allocations: 3.643 MB / 1.676 GB, free: 214.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001769/1.777, allocations: 0.5595 MB / 1.676 GB, free: 214.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/1.777, allocations: 159.4 kB / 1.676 GB, free: 214 MB / 1.295 GB Notification: Performance of SimCode: time 7.82e-07/1.777, allocations: 0 / 1.676 GB, free: 214 MB / 1.295 GB Notification: Performance of Templates: time 0.1031/1.88, allocations: 76.95 MB / 1.752 GB, free: 138.1 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.232501839287579]