Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001636/0.001636, 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.001888/0.001888, allocations: 213.4 kB / 22.24 MB, free: 5.262 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 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.364/3.364, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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") [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.002043/0.002043, allocations: 71.95 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03841/0.3535, allocations: 29.27 MB / 1.354 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02306/0.3765, allocations: 13.2 MB / 1.367 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.3793, allocations: 198.4 kB / 1.367 GB, free: 7.066 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008788/0.3881, allocations: 3.22 MB / 1.37 GB, free: 3.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007721/0.3959, allocations: 2.743 MB / 1.373 GB, free: 1.082 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005453/0.4013, allocations: 2.027 MB / 1.375 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.4122, allocations: 7.61 MB / 1.382 GB, free: 7.414 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008357/0.4205, allocations: 4.599 MB / 1.387 GB, free: 2.695 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006887/0.4274, allocations: 3.662 MB / 1.391 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005794/0.4332, allocations: 3.293 MB / 1.394 GB, free: 11.72 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.4344, allocations: 0.5938 MB / 1.394 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.4377, allocations: 1.393 MB / 1.396 GB, free: 9.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.4406, allocations: 2.412 MB / 1.398 GB, free: 7.312 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003888/0.4444, allocations: 2.33 MB / 1.4 GB, free: 4.973 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.4561, allocations: 9.516 MB / 1.41 GB, free: 11.43 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4561, allocations: 0 / 1.41 GB, free: 11.43 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4561, allocations: 0 / 1.41 GB, free: 11.43 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002048/0.4563, allocations: 0 / 1.41 GB, free: 11.43 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01068/0.467, allocations: 5.179 MB / 1.415 GB, free: 6.18 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.467, allocations: 8.031 kB / 1.415 GB, free: 6.172 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/0.4726, allocations: 1.024 MB / 1.416 GB, free: 5.145 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007774/0.4804, allocations: 3.009 MB / 1.419 GB, free: 2.043 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.4807, allocations: 320.8 kB / 1.419 GB, free: 1.727 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.482, allocations: 420 kB / 1.419 GB, free: 1.316 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.4973, allocations: 7.358 MB / 1.426 GB, free: 9.531 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/0.4974, allocations: 23.81 kB / 1.427 GB, free: 9.508 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005767/0.498, allocations: 188 kB / 1.427 GB, free: 9.324 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/0.499, allocations: 372 kB / 1.427 GB, free: 8.957 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.5102, allocations: 5.102 MB / 1.432 GB, free: 3.836 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03152/0.5417, allocations: 19.06 MB / 1.451 GB, free: 276 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.544, allocations: 1.301 MB / 1.452 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.5458, allocations: 1.246 MB / 1.453 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.114e-05/0.5459, allocations: 13.31 kB / 1.453 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.5459, allocations: 59.69 kB / 1.453 GB, free: 13.62 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 3.557e-06/0.5459, allocations: 4 kB / 1.453 GB, free: 13.62 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.09331/0.6392, allocations: 22.83 MB / 1.476 GB, free: 6.73 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.6393, allocations: 69.41 kB / 1.476 GB, free: 6.648 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/0.6422, allocations: 1.849 MB / 1.477 GB, free: 4.77 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/0.6425, allocations: 57.7 kB / 1.477 GB, free: 4.707 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.6442, allocations: 2.065 MB / 1.479 GB, free: 2.625 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/0.645, allocations: 0.7165 MB / 1.48 GB, free: 1.902 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/0.6458, allocations: 408.4 kB / 1.481 GB, free: 1.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.646, allocations: 313 kB / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.6483, allocations: 1.43 MB / 1.482 GB, free: 15.75 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/0.6512, allocations: 2.01 MB / 1.484 GB, free: 13.5 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005446/0.6566, allocations: 3.696 MB / 1.488 GB, free: 9.559 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.6566, allocations: 8 kB / 1.488 GB, free: 9.551 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01198/0.6686, allocations: 5.584 MB / 1.493 GB, free: 3.902 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.6686, allocations: 15.94 kB / 1.493 GB, free: 3.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.6687, allocations: 16 kB / 1.493 GB, free: 3.871 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007102/0.6758, allocations: 2.076 MB / 1.495 GB, free: 1.738 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.6773, allocations: 375.4 kB / 1.496 GB, free: 1.371 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04411/0.7214, allocations: 35.87 MB / 1.531 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.7238, allocations: 123.9 kB / 1.531 GB, free: 11.52 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.724, allocations: 95.98 kB / 1.531 GB, free: 11.43 MB / 1.232 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002651/0.7266, allocations: 1.507 MB / 1.532 GB, free: 9.914 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.7271, allocations: 278.2 kB / 1.533 GB, free: 9.641 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.7382, allocations: 5.126 MB / 1.538 GB, free: 4.441 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.7382, allocations: 20 kB / 1.538 GB, free: 4.422 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/0.7382, allocations: 20 kB / 1.538 GB, free: 4.402 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.7383, allocations: 11.91 kB / 1.538 GB, free: 4.391 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/0.7559, allocations: 8.449 MB / 1.546 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.7559, allocations: 4 kB / 1.546 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009049/0.7568, allocations: 216.5 kB / 1.546 GB, free: 11.54 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006075/0.7629, allocations: 1.838 MB / 1.548 GB, free: 9.645 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.7631, allocations: 40 kB / 1.548 GB, free: 9.605 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04194/0.805, allocations: 34.88 MB / 1.582 GB, free: 4.871 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.805, allocations: 16.25 kB / 1.582 GB, free: 4.855 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009882/0.8149, allocations: 4.831 MB / 1.587 GB, free: 15.86 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/0.8167, allocations: 0.5333 MB / 1.587 GB, free: 15.33 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/0.8172, allocations: 40 kB / 1.587 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.8186, allocations: 123.8 kB / 1.587 GB, free: 15.17 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006363/0.8192, allocations: 205.4 kB / 1.588 GB, free: 14.96 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.8194, allocations: 59.94 kB / 1.588 GB, free: 14.91 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001823/0.8212, allocations: 1.207 MB / 1.589 GB, free: 13.68 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8212, allocations: 3.938 kB / 1.589 GB, free: 13.68 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003472/0.8247, allocations: 1.043 MB / 1.59 GB, free: 12.64 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003722/0.825, allocations: 175 kB / 1.59 GB, free: 12.46 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01094/0.836, allocations: 6.006 MB / 1.596 GB, free: 6.219 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.836, allocations: 4 kB / 1.596 GB, free: 6.215 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/0.8434, allocations: 4.285 MB / 1.6 GB, free: 1.699 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/0.8475, allocations: 0.9065 MB / 1.601 GB, free: 0.8242 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6582/1.506, allocations: 8.247 MB / 1.609 GB, free: 249.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/1.51, allocations: 2.576 MB / 1.612 GB, free: 249.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002089/1.512, allocations: 0.4887 MB / 1.612 GB, free: 249 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/1.513, allocations: 137.7 kB / 1.612 GB, free: 249 MB / 1.295 GB Notification: Performance of SimCode: time 1.363e-06/1.513, allocations: 2.719 kB / 1.612 GB, free: 249 MB / 1.295 GB Notification: Performance of Templates: time 0.08685/1.599, allocations: 65.88 MB / 1.677 GB, free: 212.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 11.823323599994183]