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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001629/0.001629, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.464/1.464, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.829/2.829, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.679e-05, allocations: 9.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04077/0.04079, allocations: 28.73 MB / 0.8389 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02583/0.06663, allocations: 13.07 MB / 0.8517 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/0.06972, allocations: 202.4 kB / 0.8519 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009692/0.07941, allocations: 3.211 MB / 0.855 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00857/0.08798, allocations: 2.826 MB / 0.8577 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.09386, allocations: 2.038 MB / 0.8597 GB, free: 15.88 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01242/0.1063, allocations: 7.799 MB / 0.8674 GB, free: 8.059 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/0.121, allocations: 4.616 MB / 0.8719 GB, free: 3.32 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.1333, allocations: 4.912 MB / 0.8767 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006923/0.1402, allocations: 3.051 MB / 0.8796 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.1423, allocations: 0.5898 MB / 0.8802 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004308/0.1466, allocations: 1.415 MB / 0.8816 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004419/0.151, allocations: 2.525 MB / 0.8841 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.005268/0.1563, allocations: 1.992 MB / 0.886 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.1728, allocations: 9.61 MB / 0.8954 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1728, allocations: 4 kB / 0.8954 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1728, allocations: 4 kB / 0.8954 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003364/0.1732, allocations: 0 / 0.8954 GB, free: 11.16 MB / 0.8542 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.01448/0.1876, allocations: 5.121 MB / 0.9004 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1877, allocations: 12.03 kB / 0.9004 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007819/0.1955, allocations: 1.57 MB / 0.9019 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008238/0.2037, allocations: 3.188 MB / 0.9051 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/0.2041, allocations: 316.8 kB / 0.9054 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.2058, allocations: 436.3 kB / 0.9058 GB, free: 380 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.2223, allocations: 7.371 MB / 0.913 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.2224, allocations: 19.81 kB / 0.913 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008345/0.2233, allocations: 184 kB / 0.9132 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/0.2243, allocations: 376 kB / 0.9135 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.236, allocations: 5.106 MB / 0.9185 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03559/0.2716, allocations: 19.18 MB / 0.9372 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.2741, allocations: 1.309 MB / 0.9385 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.2762, allocations: 1.246 MB / 0.9397 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.2763, allocations: 25.31 kB / 0.9398 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.834e-05/0.2764, allocations: 47.88 kB / 0.9398 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=130): time 3.777e-06/0.2764, allocations: 0 / 0.9398 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=199): time 0.09376/0.3701, allocations: 22.88 MB / 0.9621 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.3702, allocations: 73.41 kB / 0.9622 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.374, allocations: 1.845 MB / 0.964 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003367/0.3743, allocations: 61.7 kB / 0.9641 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.3762, allocations: 2.061 MB / 0.9661 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009479/0.3772, allocations: 0.7088 MB / 0.9668 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.3782, allocations: 404.4 kB / 0.9672 GB, free: 396 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3784, allocations: 301.1 kB / 0.9675 GB, free: 92 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/0.3809, allocations: 1.437 MB / 0.9689 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/0.3842, allocations: 2.013 MB / 0.9708 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00599/0.3902, allocations: 3.692 MB / 0.9744 GB, free: 8.449 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.3902, allocations: 4 kB / 0.9744 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01307/0.4033, allocations: 5.685 MB / 0.98 GB, free: 2.695 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.4033, allocations: 13 kB / 0.98 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/0.4034, allocations: 20 kB / 0.98 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00986/0.4132, allocations: 2.442 MB / 0.9824 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.4149, allocations: 375.4 kB / 0.9828 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0491/0.464, allocations: 35.98 MB / 1.018 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.4664, allocations: 131.9 kB / 1.018 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000558/0.467, allocations: 88 kB / 1.018 GB, free: 9.758 MB / 0.9792 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.00327/0.4702, allocations: 1.509 MB / 1.02 GB, free: 8.238 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009754/0.4712, allocations: 334.4 kB / 1.02 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.4833, allocations: 5.126 MB / 1.025 GB, free: 2.707 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.4833, allocations: 23.94 kB / 1.025 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.791e-05/0.4834, allocations: 20 kB / 1.025 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.4835, allocations: 7.969 kB / 1.025 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/0.5034, allocations: 8.457 MB / 1.033 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.5034, allocations: 4 kB / 1.033 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.5043, allocations: 216.5 kB / 1.033 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008963/0.5133, allocations: 2.197 MB / 1.036 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.5135, allocations: 40 kB / 1.036 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4296/0.9432, allocations: 34.97 MB / 1.07 GB, free: 255.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9432, allocations: 10.25 kB / 1.07 GB, free: 255.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00779/0.9509, allocations: 4.882 MB / 1.075 GB, free: 254.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.9522, allocations: 0.5294 MB / 1.075 GB, free: 254.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.9525, allocations: 40.44 kB / 1.075 GB, free: 254.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.9537, allocations: 128.2 kB / 1.075 GB, free: 254.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005611/0.9543, allocations: 201.4 kB / 1.075 GB, free: 254.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.9544, allocations: 55.12 kB / 1.075 GB, free: 254.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001322/0.9557, allocations: 1.212 MB / 1.077 GB, free: 254.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.9557, allocations: 0 / 1.077 GB, free: 254.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002825/0.9585, allocations: 1.053 MB / 1.078 GB, free: 254.1 MB / 1.01 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.0002721/0.9588, allocations: 170.7 kB / 1.078 GB, free: 253.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00766/0.9665, allocations: 6.017 MB / 1.084 GB, free: 250.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.9665, allocations: 2.781 kB / 1.084 GB, free: 250.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005302/0.9718, allocations: 4.274 MB / 1.088 GB, free: 247.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/0.9752, allocations: 0.9128 MB / 1.089 GB, free: 247.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.9875, allocations: 8.348 MB / 1.097 GB, free: 243.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/0.991, allocations: 2.583 MB / 1.099 GB, free: 242.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002296/0.9933, allocations: 0.4934 MB / 1.1 GB, free: 242.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.9938, allocations: 142.2 kB / 1.1 GB, free: 242.8 MB / 1.01 GB Notification: Performance of SimCode: time 2.705e-06/0.9938, allocations: 0 / 1.1 GB, free: 242.8 MB / 1.01 GB Notification: Performance of Templates: time 0.08309/1.077, allocations: 60.51 MB / 1.159 GB, free: 209.3 MB / 1.01 GB " [Timeout remaining time 299] 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: 10.299332328955643]