Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001731/0.001731, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.002059/0.002059, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.538/1.538, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.91 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 160.7 MB / 1.214 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04122/0.3688, allocations: 33.18 MB / 1.246 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.3875, allocations: 10.38 MB / 1.257 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003573/0.391, allocations: 151.2 kB / 1.257 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.4016, allocations: 3.78 MB / 1.26 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5884/0.99, allocations: 1.947 MB / 1.262 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005235/0.9952, allocations: 2.132 MB / 1.264 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008732/1.004, allocations: 7.315 MB / 1.272 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01342/1.017, allocations: 7.05 MB / 1.278 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/1.025, allocations: 3.225 MB / 1.282 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007057/1.032, allocations: 3.681 MB / 1.285 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002976/1.035, allocations: 0.645 MB / 1.286 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006139/1.041, allocations: 1.806 MB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004655/1.045, allocations: 2.608 MB / 1.29 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006307/1.052, allocations: 2.903 MB / 1.293 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01522/1.067, allocations: 10.14 MB / 1.303 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.067, allocations: 1.125 kB / 1.303 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.067, allocations: 1 kB / 1.303 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003782/1.067, allocations: 0 / 1.303 GB, free: 10.73 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01684/1.084, allocations: 5.122 MB / 1.308 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.084, allocations: 9.656 kB / 1.308 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006976/1.091, allocations: 0.9787 MB / 1.309 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007128/1.098, allocations: 3.063 MB / 1.312 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/1.099, allocations: 346.7 kB / 1.312 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/1.101, allocations: 463.6 kB / 1.313 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/1.116, allocations: 7.67 MB / 1.32 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/1.117, allocations: 31.16 kB / 1.32 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008196/1.117, allocations: 202 kB / 1.32 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003582/1.118, allocations: 313.9 kB / 1.321 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/1.13, allocations: 5.708 MB / 1.326 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04422/1.174, allocations: 34.88 MB / 1.36 GB, free: 15.67 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/1.177, allocations: 2.014 MB / 1.362 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/1.178, allocations: 1.124 MB / 1.363 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.279e-05/1.178, allocations: 17.89 kB / 1.363 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.178, allocations: 46.78 kB / 1.363 GB, free: 13.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 2.775e-06/1.178, allocations: 2.5 kB / 1.363 GB, free: 13.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01407/1.192, allocations: 7.108 MB / 1.37 GB, free: 9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/1.192, allocations: 71.22 kB / 1.37 GB, free: 8.934 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.194, allocations: 1.491 MB / 1.372 GB, free: 8.066 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/1.195, allocations: 53.7 kB / 1.372 GB, free: 8.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.196, allocations: 2.066 MB / 1.374 GB, free: 5.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/1.197, allocations: 0.4978 MB / 1.374 GB, free: 5.438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000565/1.197, allocations: 347.4 kB / 1.375 GB, free: 5.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.197, allocations: 305.1 kB / 1.375 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.199, allocations: 0.9096 MB / 1.376 GB, free: 3.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.201, allocations: 1.6 MB / 1.377 GB, free: 1.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/1.204, allocations: 2.736 MB / 1.38 GB, free: 14.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/1.204, allocations: 4 kB / 1.38 GB, free: 14.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00659/1.211, allocations: 3.511 MB / 1.384 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/1.211, allocations: 16 kB / 1.384 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/1.211, allocations: 26.81 kB / 1.384 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/1.214, allocations: 0.9041 MB / 1.385 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.215, allocations: 351.3 kB / 1.385 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/1.239, allocations: 23.12 MB / 1.407 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/1.24, allocations: 108 kB / 1.408 GB, free: 1.191 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/1.241, allocations: 80 kB / 1.408 GB, free: 1.113 MB / 1.076 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003088/1.244, allocations: 1.617 MB / 1.409 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/1.244, allocations: 214.6 kB / 1.409 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005871/1.25, allocations: 2.966 MB / 1.412 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.25, allocations: 12 kB / 1.412 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.25, allocations: 8 kB / 1.412 GB, free: 12.24 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.25, allocations: 3.984 kB / 1.412 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.263, allocations: 7.324 MB / 1.419 GB, free: 4.699 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.263, allocations: 4 kB / 1.419 GB, free: 4.695 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/1.264, allocations: 175.7 kB / 1.42 GB, free: 4.523 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/1.267, allocations: 0.8373 MB / 1.42 GB, free: 3.652 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.267, allocations: 24 kB / 1.42 GB, free: 3.629 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02242/1.289, allocations: 21.95 MB / 1.442 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.289, allocations: 7.938 kB / 1.442 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/1.295, allocations: 3.007 MB / 1.445 GB, free: 8.879 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.297, allocations: 475.6 kB / 1.445 GB, free: 8.395 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/1.297, allocations: 31.92 kB / 1.445 GB, free: 8.363 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/1.298, allocations: 67.92 kB / 1.445 GB, free: 8.297 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/1.298, allocations: 124.7 kB / 1.446 GB, free: 8.176 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/1.298, allocations: 39.98 kB / 1.446 GB, free: 8.137 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001447/1.3, allocations: 0.9756 MB / 1.447 GB, free: 7.137 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.3, allocations: 0 / 1.447 GB, free: 7.137 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00312/1.303, allocations: 0.7891 MB / 1.447 GB, free: 6.348 MB / 1.123 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/1.303, allocations: 143 kB / 1.447 GB, free: 6.199 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006391/1.309, allocations: 3.921 MB / 1.451 GB, free: 2.145 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.31, allocations: 2.391 kB / 1.451 GB, free: 2.145 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004103/1.314, allocations: 2.67 MB / 1.454 GB, free: 15.32 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.317, allocations: 0.7345 MB / 1.455 GB, free: 14.62 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.332, allocations: 7.862 MB / 1.462 GB, free: 6.668 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/1.335, allocations: 3.179 MB / 1.465 GB, free: 3.457 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/1.336, allocations: 123.4 kB / 1.465 GB, free: 3.336 MB / 1.139 GB Notification: Performance of SimCode: time 1.152e-06/1.336, allocations: 0 / 1.465 GB, free: 3.336 MB / 1.139 GB Notification: Performance of Templates: time 0.3495/1.686, allocations: 321.9 MB / 1.78 GB, free: 1.223 MB / 1.451 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.447757897898555]