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.00164/0.00164, allocations: 85.45 kB / 19.76 MB, free: 1.871 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.001481/0.001481, allocations: 163.7 kB / 23.01 MB, free: 4.594 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.918 MB / 190.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 2.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 177] 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.002192/0.002192, allocations: 66.41 kB / 0.982 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8785, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02625/0.9047, allocations: 29.29 MB / 1.183 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.9242, allocations: 13.2 MB / 1.195 GB, free: 6.324 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005155/0.9293, allocations: 198.2 kB / 1.196 GB, free: 6.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009059/0.9384, allocations: 3.201 MB / 1.199 GB, free: 4.422 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00856/0.9469, allocations: 2.755 MB / 1.201 GB, free: 2.742 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006306/0.9532, allocations: 2.013 MB / 1.203 GB, free: 1.625 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.9651, allocations: 7.631 MB / 1.211 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008881/0.974, allocations: 4.591 MB / 1.215 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008405/0.9824, allocations: 3.665 MB / 1.219 GB, free: 10.28 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007885/0.9903, allocations: 3.288 MB / 1.222 GB, free: 9.016 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002364/0.9926, allocations: 0.5927 MB / 1.223 GB, free: 9.016 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005609/0.9982, allocations: 1.395 MB / 1.224 GB, free: 8.715 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005318/1.004, allocations: 2.422 MB / 1.226 GB, free: 7.656 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008156/1.012, allocations: 2.327 MB / 1.229 GB, free: 6.375 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/1.029, allocations: 9.512 MB / 1.238 GB, free: 3.312 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.029, allocations: 3.938 kB / 1.238 GB, free: 3.309 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.803e-06/1.029, allocations: 0 / 1.238 GB, free: 3.309 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003153/1.029, allocations: 5.094 kB / 1.238 GB, free: 3.305 MB / 1.092 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.01775/1.047, allocations: 5.171 MB / 1.243 GB, free: 384 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.047, allocations: 8.969 kB / 1.243 GB, free: 384 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007635/1.054, allocations: 1.03 MB / 1.244 GB, free: 68 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008856/1.063, allocations: 3.015 MB / 1.247 GB, free: 14.24 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.064, allocations: 314.8 kB / 1.247 GB, free: 14.1 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001769/1.065, allocations: 422.3 kB / 1.248 GB, free: 13.95 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/1.08, allocations: 7.374 MB / 1.255 GB, free: 9.027 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/1.08, allocations: 19.48 kB / 1.255 GB, free: 9.016 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/1.081, allocations: 184.1 kB / 1.255 GB, free: 8.879 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009466/1.082, allocations: 369 kB / 1.255 GB, free: 8.773 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/1.093, allocations: 5.11 MB / 1.26 GB, free: 6.129 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03608/1.129, allocations: 19.05 MB / 1.279 GB, free: 7.32 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/1.131, allocations: 1.317 MB / 1.28 GB, free: 6.453 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/1.133, allocations: 1.246 MB / 1.282 GB, free: 5.203 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/1.133, allocations: 17.25 kB / 1.282 GB, free: 5.184 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/1.133, allocations: 55.75 kB / 1.282 GB, free: 5.121 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 3.386e-06/1.133, allocations: 0 / 1.282 GB, free: 5.121 MB / 1.123 GB Notification: Performance of matching and sorting (n=199): time 0.0946/1.228, allocations: 22.83 MB / 1.304 GB, free: 14.23 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/1.228, allocations: 73.41 kB / 1.304 GB, free: 14.14 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/1.231, allocations: 1.841 MB / 1.306 GB, free: 12.27 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002902/1.231, allocations: 61.7 kB / 1.306 GB, free: 12.2 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.233, allocations: 2.069 MB / 1.308 GB, free: 10.12 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000853/1.234, allocations: 0.7166 MB / 1.309 GB, free: 9.398 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000861/1.234, allocations: 412.4 kB / 1.309 GB, free: 8.988 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.235, allocations: 309 kB / 1.309 GB, free: 8.684 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/1.237, allocations: 1.433 MB / 1.311 GB, free: 7.246 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/1.24, allocations: 2.01 MB / 1.313 GB, free: 4.992 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005376/1.245, allocations: 3.692 MB / 1.316 GB, free: 1.059 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.245, allocations: 4 kB / 1.316 GB, free: 1.055 MB / 1.154 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01217/1.257, allocations: 5.58 MB / 1.322 GB, free: 11.41 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/1.257, allocations: 12.97 kB / 1.322 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/1.257, allocations: 16 kB / 1.322 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007101/1.264, allocations: 2.083 MB / 1.324 GB, free: 9.238 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/1.266, allocations: 375.4 kB / 1.324 GB, free: 8.871 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.042/1.308, allocations: 35.87 MB / 1.359 GB, free: 3.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.311, allocations: 127.9 kB / 1.359 GB, free: 3.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/1.311, allocations: 92.02 kB / 1.359 GB, free: 2.93 MB / 1.201 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.002948/1.314, allocations: 1.505 MB / 1.361 GB, free: 1.414 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/1.315, allocations: 274.5 kB / 1.361 GB, free: 1.145 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.326, allocations: 5.138 MB / 1.366 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.326, allocations: 23.98 kB / 1.366 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-05/1.326, allocations: 16 kB / 1.366 GB, free: 11.89 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.326, allocations: 15.95 kB / 1.366 GB, free: 11.88 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/1.344, allocations: 8.446 MB / 1.374 GB, free: 3.246 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.344, allocations: 8 kB / 1.374 GB, free: 3.238 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/1.345, allocations: 211.6 kB / 1.375 GB, free: 3.031 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005926/1.351, allocations: 1.83 MB / 1.376 GB, free: 1.145 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.351, allocations: 36 kB / 1.376 GB, free: 1.109 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03985/1.391, allocations: 34.9 MB / 1.41 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.391, allocations: 11.94 kB / 1.41 GB, free: 12.35 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.402, allocations: 4.835 MB / 1.415 GB, free: 7.355 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/1.404, allocations: 0.5216 MB / 1.416 GB, free: 6.832 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/1.404, allocations: 47.98 kB / 1.416 GB, free: 6.785 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.406, allocations: 119.8 kB / 1.416 GB, free: 6.668 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006042/1.407, allocations: 209.4 kB / 1.416 GB, free: 6.461 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.407, allocations: 52 kB / 1.416 GB, free: 6.41 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002023/1.409, allocations: 1.215 MB / 1.417 GB, free: 5.18 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/1.409, allocations: 3.938 kB / 1.417 GB, free: 5.176 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003975/1.413, allocations: 1.043 MB / 1.418 GB, free: 4.133 MB / 1.264 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.0003386/1.413, allocations: 174.9 kB / 1.419 GB, free: 3.953 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.425, allocations: 6.01 MB / 1.424 GB, free: 13.71 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-05/1.425, allocations: 4 kB / 1.424 GB, free: 13.71 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.008092/1.433, allocations: 4.281 MB / 1.429 GB, free: 9.195 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/1.437, allocations: 0.8985 MB / 1.429 GB, free: 8.324 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.453, allocations: 8.257 MB / 1.438 GB, free: 15.98 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004388/1.457, allocations: 2.579 MB / 1.44 GB, free: 13.36 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001895/1.459, allocations: 0.4944 MB / 1.441 GB, free: 12.86 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/1.46, allocations: 140.5 kB / 1.441 GB, free: 12.73 MB / 1.295 GB Notification: Performance of SimCode: time 7.71e-07/1.46, allocations: 0 / 1.441 GB, free: 12.73 MB / 1.295 GB Notification: Performance of Templates: time 0.09976/1.559, allocations: 60.55 MB / 1.5 GB, free: 1.352 MB / 1.342 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 -s ida -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/jenkins1/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.893957450054586]