Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00176/0.00176, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.002092/0.002092, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.438/1.438, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 1.057 GB, free: 1.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 160.7 MB / 1.214 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04646/0.3538, allocations: 35.72 MB / 1.249 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.3718, allocations: 10.05 MB / 1.259 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.3749, allocations: 147.2 kB / 1.259 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.6533/1.028, allocations: 3.852 MB / 1.263 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005171/1.033, allocations: 2.149 MB / 1.265 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/1.039, allocations: 1.961 MB / 1.267 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0106/1.049, allocations: 7.966 MB / 1.274 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/1.063, allocations: 7.137 MB / 1.281 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007648/1.071, allocations: 3.428 MB / 1.285 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008754/1.079, allocations: 3.931 MB / 1.289 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003283/1.083, allocations: 0.6822 MB / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/1.089, allocations: 1.471 MB / 1.291 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006523/1.095, allocations: 2.677 MB / 1.293 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009987/1.105, allocations: 3.108 MB / 1.296 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02004/1.125, allocations: 10.41 MB / 1.307 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.125, allocations: 1.062 kB / 1.307 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.936e-06/1.125, allocations: 0 / 1.307 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004535/1.126, allocations: 0 / 1.307 GB, free: 9.047 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02164/1.147, allocations: 5.538 MB / 1.312 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.147, allocations: 8.75 kB / 1.312 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007118/1.155, allocations: 0.9798 MB / 1.313 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00876/1.163, allocations: 3.201 MB / 1.316 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/1.164, allocations: 353.1 kB / 1.316 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003219/1.167, allocations: 478.5 kB / 1.317 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/1.187, allocations: 7.909 MB / 1.325 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/1.188, allocations: 24.17 kB / 1.325 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/1.189, allocations: 214.2 kB / 1.325 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006192/1.19, allocations: 366 kB / 1.325 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/1.204, allocations: 5.94 MB / 1.331 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05126/1.256, allocations: 36 MB / 1.366 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/1.259, allocations: 1.998 MB / 1.368 GB, free: 9.938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/1.261, allocations: 1.33 MB / 1.369 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.261, allocations: 28.14 kB / 1.369 GB, free: 9.281 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/1.261, allocations: 52.06 kB / 1.369 GB, free: 9.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=157): time 2.915e-06/1.261, allocations: 0 / 1.369 GB, free: 9.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=160): time 0.01588/1.277, allocations: 7.569 MB / 1.377 GB, free: 2.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.277, allocations: 72.66 kB / 1.377 GB, free: 2.398 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/1.28, allocations: 1.868 MB / 1.379 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000297/1.281, allocations: 49.7 kB / 1.379 GB, free: 460 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001834/1.282, allocations: 2.197 MB / 1.381 GB, free: 14.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007811/1.283, allocations: 0.5943 MB / 1.381 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007321/1.284, allocations: 408 kB / 1.382 GB, free: 13.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.284, allocations: 301.1 kB / 1.382 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.286, allocations: 1.058 MB / 1.383 GB, free: 11.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/1.288, allocations: 1.764 MB / 1.385 GB, free: 9.879 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/1.293, allocations: 3.047 MB / 1.388 GB, free: 6.527 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/1.293, allocations: 8 kB / 1.388 GB, free: 6.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007594/1.301, allocations: 3.91 MB / 1.392 GB, free: 2.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/1.301, allocations: 12 kB / 1.392 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/1.301, allocations: 24 kB / 1.392 GB, free: 2.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/1.303, allocations: 0.9343 MB / 1.393 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.305, allocations: 427.2 kB / 1.393 GB, free: 1.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/1.329, allocations: 22.78 MB / 1.415 GB, free: 8.711 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/1.332, allocations: 119.9 kB / 1.415 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/1.332, allocations: 95.56 kB / 1.416 GB, free: 8.504 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003516/1.335, allocations: 1.652 MB / 1.417 GB, free: 6.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006798/1.336, allocations: 266.4 kB / 1.417 GB, free: 6.578 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00607/1.342, allocations: 3.236 MB / 1.421 GB, free: 3.293 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.342, allocations: 16 kB / 1.421 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.342, allocations: 12 kB / 1.421 GB, free: 3.266 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.342, allocations: 7.969 kB / 1.421 GB, free: 3.258 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/1.356, allocations: 7.521 MB / 1.428 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.356, allocations: 8 kB / 1.428 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009882/1.357, allocations: 215.6 kB / 1.428 GB, free: 11.4 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002567/1.36, allocations: 0.902 MB / 1.429 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/1.36, allocations: 28 kB / 1.429 GB, free: 10.44 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/1.384, allocations: 22.74 MB / 1.451 GB, free: 2.047 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/1.384, allocations: 7.938 kB / 1.451 GB, free: 2.039 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006391/1.39, allocations: 3.365 MB / 1.455 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.392, allocations: 0.5422 MB / 1.455 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006303/1.393, allocations: 32 kB / 1.455 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.394, allocations: 91.83 kB / 1.455 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/1.395, allocations: 148.9 kB / 1.455 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.395, allocations: 44 kB / 1.455 GB, free: 13.69 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001934/1.397, allocations: 1.225 MB / 1.457 GB, free: 12.45 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.397, allocations: 0 / 1.457 GB, free: 12.45 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003575/1.4, allocations: 0.9023 MB / 1.457 GB, free: 11.55 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/1.401, allocations: 159 kB / 1.458 GB, free: 11.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007249/1.408, allocations: 4.298 MB / 1.462 GB, free: 6.965 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.408, allocations: 4 kB / 1.462 GB, free: 6.961 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004749/1.413, allocations: 2.907 MB / 1.465 GB, free: 3.902 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.417, allocations: 0.8303 MB / 1.465 GB, free: 3.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/1.434, allocations: 8.344 MB / 1.474 GB, free: 10.66 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004679/1.438, allocations: 3.275 MB / 1.477 GB, free: 7.359 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/1.439, allocations: 159.4 kB / 1.477 GB, free: 7.203 MB / 1.154 GB Notification: Performance of SimCode: time 1.613e-06/1.439, allocations: 4 kB / 1.477 GB, free: 7.199 MB / 1.154 GB Notification: Performance of Templates: time 0.3983/1.838, allocations: 340.1 MB / 1.809 GB, free: 2.977 MB / 1.482 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 24.81654864596203]