Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001789/0.001789, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00216/0.00216, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 475.9 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002079/0.002079, allocations: 71.97 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04388/0.3573, allocations: 31.71 MB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02712/0.3845, allocations: 14.45 MB / 1.328 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004403/0.3889, allocations: 210.4 kB / 1.328 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.4002, allocations: 3.67 MB / 1.332 GB, free: 9.715 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.4105, allocations: 2.986 MB / 1.335 GB, free: 6.715 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007562/0.4181, allocations: 2.327 MB / 1.337 GB, free: 4.387 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01441/0.4325, allocations: 8.812 MB / 1.346 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01316/0.4456, allocations: 5.491 MB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008621/0.4543, allocations: 4.223 MB / 1.355 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008081/0.4623, allocations: 3.928 MB / 1.359 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002617/0.465, allocations: 0.7148 MB / 1.36 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005312/0.4703, allocations: 1.611 MB / 1.361 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00541/0.4757, allocations: 2.884 MB / 1.364 GB, free: 8.543 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.008574/0.4843, allocations: 2.755 MB / 1.367 GB, free: 5.777 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01877/0.503, allocations: 11.25 MB / 1.378 GB, free: 10.49 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.503, allocations: 3.938 kB / 1.378 GB, free: 10.49 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.474e-06/0.503, allocations: 0 / 1.378 GB, free: 10.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004445/0.5035, allocations: 0 / 1.378 GB, free: 10.49 MB / 1.076 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.02207/0.5256, allocations: 6.033 MB / 1.384 GB, free: 4.391 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5256, allocations: 12.03 kB / 1.384 GB, free: 4.379 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008403/0.534, allocations: 1.168 MB / 1.385 GB, free: 3.207 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009319/0.5433, allocations: 3.454 MB / 1.388 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.5437, allocations: 370.4 kB / 1.389 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/0.5455, allocations: 496 kB / 1.389 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.5646, allocations: 8.713 MB / 1.398 GB, free: 5.66 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.5647, allocations: 27.81 kB / 1.398 GB, free: 5.633 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006489/0.5654, allocations: 220 kB / 1.398 GB, free: 5.418 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00119/0.5666, allocations: 437.6 kB / 1.398 GB, free: 4.988 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.5804, allocations: 6.073 MB / 1.404 GB, free: 14.9 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04208/0.6225, allocations: 21.22 MB / 1.425 GB, free: 9.203 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.6259, allocations: 1.909 MB / 1.427 GB, free: 7.285 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.629, allocations: 1.74 MB / 1.428 GB, free: 5.543 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.6292, allocations: 21.94 kB / 1.428 GB, free: 5.52 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/0.6292, allocations: 52.56 kB / 1.428 GB, free: 5.461 MB / 1.123 GB Notification: Performance of pre-optimization done (n=171): time 4.058e-06/0.6292, allocations: 0 / 1.428 GB, free: 5.461 MB / 1.123 GB Notification: Performance of matching and sorting (n=276): time 0.163/0.7922, allocations: 38.68 MB / 1.466 GB, free: 14.72 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.7923, allocations: 81.58 kB / 1.466 GB, free: 14.63 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003727/0.796, allocations: 2.035 MB / 1.468 GB, free: 12.57 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004315/0.7964, allocations: 73.7 kB / 1.468 GB, free: 12.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.7984, allocations: 2.351 MB / 1.471 GB, free: 10.12 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.7996, allocations: 0.9837 MB / 1.472 GB, free: 9.133 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.8009, allocations: 0.5063 MB / 1.472 GB, free: 8.617 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8011, allocations: 305.1 kB / 1.472 GB, free: 8.316 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/0.8045, allocations: 1.981 MB / 1.474 GB, free: 6.332 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/0.8085, allocations: 2.595 MB / 1.477 GB, free: 3.496 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007888/0.8164, allocations: 4.933 MB / 1.482 GB, free: 14.29 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/0.8164, allocations: 8 kB / 1.482 GB, free: 14.28 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01667/0.8331, allocations: 7.63 MB / 1.489 GB, free: 6.582 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.8331, allocations: 12 kB / 1.489 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/0.8332, allocations: 16 kB / 1.489 GB, free: 6.555 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.8433, allocations: 3.204 MB / 1.492 GB, free: 3.336 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.8452, allocations: 403.3 kB / 1.493 GB, free: 2.941 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05133/0.8966, allocations: 32.57 MB / 1.525 GB, free: 1.746 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.8997, allocations: 167.8 kB / 1.525 GB, free: 1.582 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000507/0.9002, allocations: 108 kB / 1.525 GB, free: 1.477 MB / 1.217 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.00361/0.9038, allocations: 1.801 MB / 1.527 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009029/0.9047, allocations: 314.1 kB / 1.527 GB, free: 15.35 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/0.9202, allocations: 7.225 MB / 1.534 GB, free: 8.043 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.9202, allocations: 28 kB / 1.534 GB, free: 8.016 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.052e-05/0.9203, allocations: 28 kB / 1.534 GB, free: 7.988 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-05/0.9203, allocations: 15.95 kB / 1.534 GB, free: 7.973 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/0.9465, allocations: 11.4 MB / 1.545 GB, free: 12.42 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/0.9465, allocations: 8 kB / 1.545 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.9476, allocations: 239.7 kB / 1.545 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008807/0.9564, allocations: 2.844 MB / 1.548 GB, free: 9.316 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/0.9567, allocations: 51.98 kB / 1.548 GB, free: 9.266 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04778/1.004, allocations: 31.35 MB / 1.579 GB, free: 9.289 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.004, allocations: 4 kB / 1.579 GB, free: 9.285 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.018, allocations: 6.754 MB / 1.585 GB, free: 2.324 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/1.021, allocations: 0.7016 MB / 1.586 GB, free: 1.621 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009352/1.022, allocations: 52 kB / 1.586 GB, free: 1.57 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/1.024, allocations: 175.7 kB / 1.586 GB, free: 1.398 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000842/1.025, allocations: 265.2 kB / 1.587 GB, free: 1.137 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.025, allocations: 80 kB / 1.587 GB, free: 1.055 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002389/1.028, allocations: 1.33 MB / 1.588 GB, free: 15.71 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.028, allocations: 0 / 1.588 GB, free: 15.71 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00445/1.032, allocations: 1.363 MB / 1.589 GB, free: 14.35 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.0004551/1.033, allocations: 178.9 kB / 1.589 GB, free: 14.16 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.045, allocations: 6.559 MB / 1.596 GB, free: 7.512 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.045, allocations: 0 / 1.596 GB, free: 7.512 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008297/1.053, allocations: 4.257 MB / 1.6 GB, free: 3.168 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00501/1.058, allocations: 1.013 MB / 1.601 GB, free: 2.191 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6708/1.729, allocations: 10.35 MB / 1.611 GB, free: 288.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006586/1.736, allocations: 3.117 MB / 1.614 GB, free: 288.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002368/1.738, allocations: 0.5194 MB / 1.615 GB, free: 288 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/1.738, allocations: 143.8 kB / 1.615 GB, free: 288 MB / 1.295 GB Notification: Performance of SimCode: time 1.292e-06/1.738, allocations: 0 / 1.615 GB, free: 288 MB / 1.295 GB Notification: Performance of Templates: time 0.1049/1.843, allocations: 82 MB / 1.695 GB, free: 229 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.43642245605588]