Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001649/0.001649, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001824/0.001824, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.879/2.879, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,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") 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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.88 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9832/0.9852, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04003/1.025, allocations: 32.15 MB / 1.303 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02718/1.052, allocations: 13.96 MB / 1.317 GB, free: 8.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00433/1.057, allocations: 143.2 kB / 1.317 GB, free: 8.934 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009982/1.067, allocations: 3.315 MB / 1.32 GB, free: 6.988 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/1.078, allocations: 2.777 MB / 1.323 GB, free: 5.281 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00846/1.087, allocations: 2.067 MB / 1.325 GB, free: 4.113 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01568/1.102, allocations: 7.611 MB / 1.333 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/1.114, allocations: 4.244 MB / 1.337 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009159/1.123, allocations: 3.47 MB / 1.34 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008775/1.132, allocations: 3.567 MB / 1.344 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002671/1.135, allocations: 0.5954 MB / 1.344 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00581/1.141, allocations: 1.521 MB / 1.346 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004693/1.145, allocations: 2.426 MB / 1.348 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006227/1.152, allocations: 2.885 MB / 1.351 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/1.167, allocations: 9.492 MB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.167, allocations: 1.188 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.715e-06/1.167, allocations: 4 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003123/1.167, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 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.01873/1.186, allocations: 5.262 MB / 1.365 GB, free: 14.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.186, allocations: 9.844 kB / 1.365 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00816/1.194, allocations: 1.026 MB / 1.366 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008109/1.202, allocations: 3.101 MB / 1.369 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003199/1.203, allocations: 315 kB / 1.37 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/1.204, allocations: 421.1 kB / 1.37 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/1.221, allocations: 6.789 MB / 1.377 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/1.221, allocations: 27.58 kB / 1.377 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006255/1.221, allocations: 180.6 kB / 1.377 GB, free: 6.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008823/1.222, allocations: 372 kB / 1.377 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/1.235, allocations: 5.116 MB / 1.382 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03648/1.271, allocations: 30.57 MB / 1.412 GB, free: 2.289 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/1.273, allocations: 1.317 MB / 1.413 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.275, allocations: 1.238 MB / 1.415 GB, free: 15.72 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/1.275, allocations: 17.3 kB / 1.415 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/1.275, allocations: 55.88 kB / 1.415 GB, free: 15.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=130): time 3.196e-06/1.275, allocations: 0 / 1.415 GB, free: 15.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=199): time 0.08428/1.359, allocations: 23.08 MB / 1.437 GB, free: 8.453 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/1.359, allocations: 77.34 kB / 1.437 GB, free: 8.363 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/1.362, allocations: 2.059 MB / 1.439 GB, free: 6.289 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/1.363, allocations: 61.7 kB / 1.439 GB, free: 6.223 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.364, allocations: 2.059 MB / 1.441 GB, free: 4.145 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007174/1.365, allocations: 0.7165 MB / 1.442 GB, free: 3.422 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007538/1.366, allocations: 408.4 kB / 1.442 GB, free: 3.016 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.366, allocations: 305.1 kB / 1.443 GB, free: 2.715 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/1.368, allocations: 1.433 MB / 1.444 GB, free: 1.277 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/1.371, allocations: 2.013 MB / 1.446 GB, free: 15.02 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0049/1.376, allocations: 3.688 MB / 1.45 GB, free: 11.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.376, allocations: 4 kB / 1.45 GB, free: 11.08 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01117/1.387, allocations: 5.6 MB / 1.455 GB, free: 5.414 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.387, allocations: 12 kB / 1.455 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/1.387, allocations: 16.09 kB / 1.455 GB, free: 5.387 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006742/1.393, allocations: 2.087 MB / 1.457 GB, free: 3.242 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/1.395, allocations: 391.2 kB / 1.458 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04315/1.438, allocations: 38.45 MB / 1.495 GB, free: 9.879 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.441, allocations: 123.9 kB / 1.495 GB, free: 9.758 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/1.441, allocations: 91.98 kB / 1.495 GB, free: 9.668 MB / 1.186 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.003518/1.445, allocations: 1.516 MB / 1.497 GB, free: 8.141 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007642/1.446, allocations: 310.1 kB / 1.497 GB, free: 7.836 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.456, allocations: 5.137 MB / 1.502 GB, free: 2.625 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.456, allocations: 20 kB / 1.502 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-05/1.456, allocations: 16 kB / 1.502 GB, free: 2.59 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/1.457, allocations: 11.95 kB / 1.502 GB, free: 2.578 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/1.476, allocations: 9.602 MB / 1.511 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.476, allocations: 4 kB / 1.511 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008943/1.477, allocations: 223.6 kB / 1.512 GB, free: 8.543 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005975/1.483, allocations: 1.835 MB / 1.514 GB, free: 6.652 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/1.483, allocations: 44 kB / 1.514 GB, free: 6.609 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04314/1.526, allocations: 37.48 MB / 1.55 GB, free: 14.6 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/1.526, allocations: 11.94 kB / 1.55 GB, free: 14.59 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.536, allocations: 4.859 MB / 1.555 GB, free: 9.574 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/1.538, allocations: 0.6279 MB / 1.556 GB, free: 8.926 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/1.539, allocations: 43.95 kB / 1.556 GB, free: 8.883 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.54, allocations: 131.8 kB / 1.556 GB, free: 8.754 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006808/1.541, allocations: 189.6 kB / 1.556 GB, free: 8.566 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.541, allocations: 60 kB / 1.556 GB, free: 8.508 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002161/1.543, allocations: 1.371 MB / 1.557 GB, free: 7.129 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.543, allocations: 0 / 1.557 GB, free: 7.129 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004434/1.548, allocations: 1.051 MB / 1.558 GB, free: 6.078 MB / 1.248 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.0003387/1.548, allocations: 182.8 kB / 1.558 GB, free: 5.891 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.558, allocations: 6.006 MB / 1.564 GB, free: 15.65 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.558, allocations: 4 kB / 1.564 GB, free: 15.65 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007099/1.565, allocations: 4.281 MB / 1.569 GB, free: 11.14 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004285/1.57, allocations: 0.9841 MB / 1.569 GB, free: 10.18 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/1.585, allocations: 8.284 MB / 1.578 GB, free: 1.805 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003982/1.589, allocations: 3.136 MB / 1.581 GB, free: 14.63 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001843/1.591, allocations: 0.5121 MB / 1.581 GB, free: 14.12 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/1.591, allocations: 147.4 kB / 1.581 GB, free: 13.97 MB / 1.279 GB Notification: Performance of SimCode: time 1.543e-06/1.591, allocations: 0 / 1.581 GB, free: 13.97 MB / 1.279 GB Notification: Performance of Templates: time 0.1093/1.7, allocations: 60.22 MB / 1.64 GB, free: 2.586 MB / 1.326 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.419533849693835]