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.001645/0.001645, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00203/0.00203, allocations: 186 kB / 20.78 MB, free: 1.547 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.542/1.542, allocations: 225.6 MB / 249.4 MB, free: 3.145 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.691/2.691, allocations: 443.4 MB / 0.7304 GB, free: 13.88 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.002052/0.002052, allocations: 67.89 kB / 1.059 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3465, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04299/0.3895, allocations: 34.27 MB / 1.25 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.4101, allocations: 10.64 MB / 1.26 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003946/0.414, allocations: 151.2 kB / 1.26 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.8028/1.217, allocations: 3.857 MB / 1.264 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00586/1.223, allocations: 1.953 MB / 1.266 GB, free: 17.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006615/1.229, allocations: 2.198 MB / 1.268 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009983/1.239, allocations: 7.318 MB / 1.275 GB, free: 17.87 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/1.25, allocations: 4.822 MB / 1.28 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008687/1.259, allocations: 3.23 MB / 1.283 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008702/1.268, allocations: 3.674 MB / 1.287 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003716/1.271, allocations: 0.6452 MB / 1.287 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007004/1.278, allocations: 1.804 MB / 1.289 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006306/1.285, allocations: 2.612 MB / 1.292 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009291/1.294, allocations: 2.897 MB / 1.294 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01927/1.313, allocations: 10.13 MB / 1.304 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.313, allocations: 5.094 kB / 1.304 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.846e-06/1.313, allocations: 1.125 kB / 1.304 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003349/1.314, allocations: 0 / 1.304 GB, free: 10.67 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.01852/1.332, allocations: 5.123 MB / 1.309 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/1.332, allocations: 9.375 kB / 1.309 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008997/1.341, allocations: 0.9742 MB / 1.31 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008816/1.35, allocations: 3.062 MB / 1.313 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/1.351, allocations: 347.7 kB / 1.314 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00281/1.353, allocations: 463.6 kB / 1.314 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02789/1.381, allocations: 7.665 MB / 1.321 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003932/1.382, allocations: 38.2 kB / 1.321 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002308/1.384, allocations: 201.8 kB / 1.322 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005617/1.384, allocations: 310.7 kB / 1.322 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/1.401, allocations: 5.716 MB / 1.328 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06481/1.466, allocations: 34.89 MB / 1.362 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.469, allocations: 2.017 MB / 1.364 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/1.471, allocations: 1.111 MB / 1.365 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/1.471, allocations: 14.12 kB / 1.365 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/1.471, allocations: 52.88 kB / 1.365 GB, free: 12.35 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 8.546e-06/1.471, allocations: 5.453 kB / 1.365 GB, free: 12.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01715/1.488, allocations: 7.118 MB / 1.372 GB, free: 7.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/1.488, allocations: 69.89 kB / 1.372 GB, free: 7.594 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/1.492, allocations: 1.483 MB / 1.373 GB, free: 6.742 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002647/1.492, allocations: 47.8 kB / 1.373 GB, free: 6.695 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.494, allocations: 2.07 MB / 1.375 GB, free: 4.879 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007972/1.495, allocations: 0.4967 MB / 1.376 GB, free: 4.449 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000749/1.496, allocations: 350.5 kB / 1.376 GB, free: 4.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.496, allocations: 305.1 kB / 1.376 GB, free: 3.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.497, allocations: 0.9147 MB / 1.377 GB, free: 3.473 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.499, allocations: 1.589 MB / 1.379 GB, free: 2.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/1.503, allocations: 2.741 MB / 1.382 GB, free: 15.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-05/1.503, allocations: 4 kB / 1.382 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006892/1.51, allocations: 3.508 MB / 1.385 GB, free: 11.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.51, allocations: 16 kB / 1.385 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.312e-05/1.51, allocations: 27.94 kB / 1.385 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/1.513, allocations: 0.9117 MB / 1.386 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.514, allocations: 347.4 kB / 1.386 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0273/1.542, allocations: 23.11 MB / 1.409 GB, free: 1.379 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/1.544, allocations: 108 kB / 1.409 GB, free: 1.273 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003984/1.544, allocations: 80.47 kB / 1.409 GB, free: 1.195 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.004131/1.548, allocations: 1.609 MB / 1.411 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008712/1.549, allocations: 222.6 kB / 1.411 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00676/1.556, allocations: 2.959 MB / 1.414 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.556, allocations: 12 kB / 1.414 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.92e-05/1.556, allocations: 8 kB / 1.414 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/1.556, allocations: 11.97 kB / 1.414 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.574, allocations: 7.322 MB / 1.421 GB, free: 4.785 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.574, allocations: 4 kB / 1.421 GB, free: 4.781 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/1.575, allocations: 175.8 kB / 1.421 GB, free: 4.609 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/1.578, allocations: 0.8259 MB / 1.422 GB, free: 3.746 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/1.578, allocations: 31.98 kB / 1.422 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02495/1.603, allocations: 21.96 MB / 1.443 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.603, allocations: 4 kB / 1.443 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/1.609, allocations: 3.006 MB / 1.446 GB, free: 8.961 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.61, allocations: 467.6 kB / 1.447 GB, free: 8.484 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/1.611, allocations: 39.89 kB / 1.447 GB, free: 8.445 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.612, allocations: 71.91 kB / 1.447 GB, free: 8.375 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004211/1.613, allocations: 124.7 kB / 1.447 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.613, allocations: 40 kB / 1.447 GB, free: 8.215 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001908/1.615, allocations: 0.9756 MB / 1.448 GB, free: 7.215 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.615, allocations: 0 / 1.448 GB, free: 7.215 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003721/1.618, allocations: 0.7891 MB / 1.449 GB, free: 6.426 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.0003237/1.619, allocations: 139 kB / 1.449 GB, free: 6.281 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007422/1.626, allocations: 3.918 MB / 1.453 GB, free: 2.23 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.626, allocations: 0 / 1.453 GB, free: 2.23 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004297/1.63, allocations: 2.67 MB / 1.455 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/1.635, allocations: 0.7308 MB / 1.456 GB, free: 14.7 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.652, allocations: 7.353 MB / 1.463 GB, free: 7.262 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00622/1.658, allocations: 3.113 MB / 1.466 GB, free: 4.117 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001796/1.66, allocations: 458 kB / 1.467 GB, free: 3.668 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/1.66, allocations: 111.4 kB / 1.467 GB, free: 3.559 MB / 1.139 GB Notification: Performance of SimCode: time 1.413e-06/1.66, allocations: 0 / 1.467 GB, free: 3.559 MB / 1.139 GB Notification: Performance of Templates: time 0.07931/1.74, allocations: 37.36 MB / 1.503 GB, free: 14.74 MB / 1.186 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.86587902251631]