Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001737/0.001737, 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.001926/0.001926, allocations: 215.7 kB / 22.25 MB, free: 5.254 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.741/1.741, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.349/3.349, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.002158/0.002158, allocations: 69.77 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3748, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01914/0.3939, allocations: 13.31 MB / 1.377 GB, free: 264 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.4108, allocations: 9.147 MB / 1.386 GB, free: 7.086 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.4125, allocations: 87.19 kB / 1.386 GB, free: 7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.4174, allocations: 1.671 MB / 1.387 GB, free: 5.324 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.4226, allocations: 1.587 MB / 1.389 GB, free: 3.734 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.4249, allocations: 0.7626 MB / 1.39 GB, free: 2.973 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004024/0.4289, allocations: 2.517 MB / 1.392 GB, free: 456 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.431, allocations: 1.18 MB / 1.393 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.4334, allocations: 1.207 MB / 1.395 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.4353, allocations: 1.054 MB / 1.396 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.4356, allocations: 164 kB / 1.396 GB, free: 12.8 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.4372, allocations: 0.7213 MB / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007072/0.4379, allocations: 0.6231 MB / 1.397 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.4389, allocations: 0.7582 MB / 1.398 GB, free: 10.69 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.4425, allocations: 2.763 MB / 1.401 GB, free: 7.914 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4425, allocations: 3.984 kB / 1.401 GB, free: 7.91 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4425, allocations: 0 / 1.401 GB, free: 7.91 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.018e-05/0.4425, allocations: 0 / 1.401 GB, free: 7.91 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004294/0.4468, allocations: 2.1 MB / 1.403 GB, free: 5.77 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4469, allocations: 8.031 kB / 1.403 GB, free: 5.762 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.4589, allocations: 2.09 MB / 1.405 GB, free: 3.668 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.4621, allocations: 1.184 MB / 1.406 GB, free: 2.434 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.09e-05/0.4622, allocations: 98.61 kB / 1.406 GB, free: 2.336 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.4625, allocations: 120.1 kB / 1.406 GB, free: 2.219 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006395/0.4689, allocations: 2.893 MB / 1.409 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.4689, allocations: 11.89 kB / 1.409 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.4691, allocations: 55.97 kB / 1.409 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006884/0.4698, allocations: 178.1 kB / 1.409 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008151/0.4779, allocations: 2.795 MB / 1.412 GB, free: 12.08 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.4933, allocations: 8.11 MB / 1.42 GB, free: 3.809 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00719/0.5005, allocations: 2.225 MB / 1.422 GB, free: 1.574 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/0.5038, allocations: 1.206 MB / 1.423 GB, free: 376 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.5039, allocations: 17 kB / 1.423 GB, free: 356 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.504, allocations: 43.56 kB / 1.423 GB, free: 304 kB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 2.856e-06/0.504, allocations: 0 / 1.423 GB, free: 304 kB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.04949/0.5535, allocations: 12.64 MB / 1.435 GB, free: 3.613 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.5535, allocations: 64.72 kB / 1.435 GB, free: 3.539 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.5549, allocations: 0.9834 MB / 1.436 GB, free: 2.543 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.5551, allocations: 49.7 kB / 1.437 GB, free: 2.488 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/0.5557, allocations: 0.7316 MB / 1.437 GB, free: 1.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.5562, allocations: 479.9 kB / 1.438 GB, free: 1.277 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.5567, allocations: 259.5 kB / 1.438 GB, free: 1.016 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5569, allocations: 365.9 kB / 1.438 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/0.5605, allocations: 1.339 MB / 1.44 GB, free: 15.31 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/0.5643, allocations: 1.604 MB / 1.441 GB, free: 13.61 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007428/0.5718, allocations: 2.991 MB / 1.444 GB, free: 10.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.5718, allocations: 0 / 1.444 GB, free: 10.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01229/0.5841, allocations: 4.388 MB / 1.448 GB, free: 6.082 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.5841, allocations: 11.94 kB / 1.448 GB, free: 6.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.5841, allocations: 4.844 kB / 1.448 GB, free: 6.066 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00555/0.5897, allocations: 1.431 MB / 1.45 GB, free: 4.594 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.5919, allocations: 439.2 kB / 1.45 GB, free: 4.164 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/0.621, allocations: 24.81 MB / 1.474 GB, free: 10.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.6236, allocations: 307.5 kB / 1.475 GB, free: 9.723 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.6238, allocations: 60.03 kB / 1.475 GB, free: 9.664 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008816/0.6247, allocations: 450.4 kB / 1.475 GB, free: 9.215 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.625, allocations: 155.1 kB / 1.475 GB, free: 9.062 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.6373, allocations: 4.397 MB / 1.48 GB, free: 4.609 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.6373, allocations: 15.94 kB / 1.48 GB, free: 4.594 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-05/0.6373, allocations: 12 kB / 1.48 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.6373, allocations: 3.984 kB / 1.48 GB, free: 4.578 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.6537, allocations: 6.132 MB / 1.486 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.6537, allocations: 4 kB / 1.486 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.6557, allocations: 383.6 kB / 1.486 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004981/0.6606, allocations: 1.318 MB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.6608, allocations: 35.97 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/0.6884, allocations: 23.69 MB / 1.51 GB, free: 3.539 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6884, allocations: 7.938 kB / 1.51 GB, free: 3.531 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.7, allocations: 4.144 MB / 1.515 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.7012, allocations: 370.8 kB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.7014, allocations: 27.94 kB / 1.515 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/0.7036, allocations: 315.4 kB / 1.515 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/0.704, allocations: 128.6 kB / 1.515 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.7041, allocations: 55.95 kB / 1.515 GB, free: 14.41 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009437/0.7051, allocations: 0.6471 MB / 1.516 GB, free: 13.76 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7051, allocations: 0 / 1.516 GB, free: 13.76 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001925/0.707, allocations: 0.5625 MB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/0.7073, allocations: 139.1 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.7191, allocations: 4.974 MB / 1.522 GB, free: 7.91 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7192, allocations: 3.938 kB / 1.522 GB, free: 7.906 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007586/0.7267, allocations: 3.417 MB / 1.525 GB, free: 4.316 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.7293, allocations: 0.506 MB / 1.525 GB, free: 3.828 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009317/0.7386, allocations: 4.046 MB / 1.529 GB, free: 15.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.7398, allocations: 0.8907 MB / 1.53 GB, free: 14.8 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001492/0.7413, allocations: 408.3 kB / 1.531 GB, free: 14.4 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.7417, allocations: 107.4 kB / 1.531 GB, free: 14.3 MB / 1.232 GB Notification: Performance of SimCode: time 6.11e-07/0.7417, allocations: 0 / 1.531 GB, free: 14.3 MB / 1.232 GB Notification: Performance of Templates: time 0.07024/0.8119, allocations: 42.34 MB / 1.572 GB, free: 4.637 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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: 10.944148175418377]