Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001778/0.001778, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002318/0.002318, allocations: 159.7 kB / 23.01 MB, free: 4.949 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.775/2.775, allocations: 377.9 MB / 0.6228 GB, free: 12.59 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [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.002106/0.002106, allocations: 63.89 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8929/0.895, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03111/0.9262, allocations: 33.77 MB / 1.187 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.9447, allocations: 11.55 MB / 1.198 GB, free: 4.941 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.9488, allocations: 209.7 kB / 1.198 GB, free: 4.844 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.9598, allocations: 4.269 MB / 1.203 GB, free: 2.441 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006807/0.9666, allocations: 2.093 MB / 1.205 GB, free: 1.156 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007267/0.9738, allocations: 2.403 MB / 1.207 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01339/0.9872, allocations: 8.458 MB / 1.215 GB, free: 12.01 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0182/1.005, allocations: 6.167 MB / 1.221 GB, free: 8.934 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009207/1.015, allocations: 3.875 MB / 1.225 GB, free: 7.172 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009132/1.024, allocations: 4.139 MB / 1.229 GB, free: 5.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00319/1.027, allocations: 0.7829 MB / 1.23 GB, free: 5.609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006693/1.034, allocations: 1.908 MB / 1.232 GB, free: 5.172 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.007012/1.041, allocations: 3.134 MB / 1.235 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01319/1.054, allocations: 2.747 MB / 1.237 GB, free: 2.27 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02511/1.079, allocations: 12.08 MB / 1.249 GB, free: 12.81 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.079, allocations: 0 / 1.249 GB, free: 12.81 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.174e-06/1.079, allocations: 0 / 1.249 GB, free: 12.81 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004671/1.079, allocations: 4 kB / 1.249 GB, free: 12.81 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02465/1.104, allocations: 5.865 MB / 1.255 GB, free: 8.902 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.104, allocations: 9.781 kB / 1.255 GB, free: 8.902 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009027/1.113, allocations: 1.096 MB / 1.256 GB, free: 8.363 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.124, allocations: 3.414 MB / 1.259 GB, free: 6.234 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005351/1.125, allocations: 414.4 kB / 1.26 GB, free: 6.047 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/1.127, allocations: 0.5346 MB / 1.26 GB, free: 5.863 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/1.155, allocations: 9.382 MB / 1.269 GB, free: 15.93 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003672/1.155, allocations: 35.38 kB / 1.269 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002325/1.158, allocations: 242.1 kB / 1.27 GB, free: 15.73 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005434/1.158, allocations: 350.2 kB / 1.27 GB, free: 15.66 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/1.175, allocations: 6.815 MB / 1.277 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04797/1.223, allocations: 24.27 MB / 1.3 GB, free: 1.828 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/1.227, allocations: 2.299 MB / 1.303 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/1.23, allocations: 1.775 MB / 1.304 GB, free: 13.76 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/1.23, allocations: 18 kB / 1.304 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/1.231, allocations: 56.56 kB / 1.304 GB, free: 13.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=179): time 4.037e-06/1.231, allocations: 0 / 1.304 GB, free: 13.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=182): time 0.02829/1.259, allocations: 9.668 MB / 1.314 GB, free: 3.988 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.259, allocations: 77.39 kB / 1.314 GB, free: 3.898 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/1.262, allocations: 1.442 MB / 1.315 GB, free: 2.457 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002123/1.262, allocations: 53.7 kB / 1.315 GB, free: 2.398 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001767/1.264, allocations: 2.323 MB / 1.318 GB, free: 56 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000794/1.264, allocations: 0.6586 MB / 1.318 GB, free: 15.39 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000827/1.265, allocations: 408.2 kB / 1.319 GB, free: 14.98 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.265, allocations: 308.9 kB / 1.319 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/1.267, allocations: 1.176 MB / 1.32 GB, free: 13.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/1.27, allocations: 1.889 MB / 1.322 GB, free: 11.29 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/1.275, allocations: 3.363 MB / 1.325 GB, free: 7.617 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/1.275, allocations: 12 kB / 1.325 GB, free: 7.605 MB / 1.17 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008617/1.283, allocations: 4.531 MB / 1.33 GB, free: 3.051 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/1.283, allocations: 12 kB / 1.33 GB, free: 3.039 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.911e-05/1.283, allocations: 27.94 kB / 1.33 GB, free: 3.012 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004098/1.287, allocations: 1.578 MB / 1.331 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.289, allocations: 355.3 kB / 1.332 GB, free: 1.078 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02739/1.316, allocations: 17.82 MB / 1.349 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/1.318, allocations: 119.9 kB / 1.349 GB, free: 14.74 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/1.319, allocations: 96 kB / 1.349 GB, free: 14.65 MB / 1.201 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004378/1.323, allocations: 1.903 MB / 1.351 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/1.324, allocations: 222.6 kB / 1.351 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008239/1.332, allocations: 4.044 MB / 1.355 GB, free: 8.441 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.332, allocations: 20 kB / 1.355 GB, free: 8.422 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-05/1.332, allocations: 16 kB / 1.355 GB, free: 8.406 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/1.332, allocations: 7.969 kB / 1.355 GB, free: 8.398 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.35, allocations: 7.833 MB / 1.363 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.35, allocations: 7.938 kB / 1.363 GB, free: 440 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/1.351, allocations: 183.7 kB / 1.363 GB, free: 256 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/1.354, allocations: 1.352 MB / 1.364 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.355, allocations: 32 kB / 1.365 GB, free: 14.85 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02579/1.38, allocations: 16.61 MB / 1.381 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.38, allocations: 15.88 kB / 1.381 GB, free: 13.83 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008814/1.389, allocations: 4.024 MB / 1.385 GB, free: 9.719 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.391, allocations: 450.5 kB / 1.385 GB, free: 9.277 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00063/1.392, allocations: 39.98 kB / 1.385 GB, free: 9.238 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.393, allocations: 91.89 kB / 1.385 GB, free: 9.148 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006075/1.394, allocations: 169.5 kB / 1.385 GB, free: 8.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.394, allocations: 44 kB / 1.385 GB, free: 8.938 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001847/1.396, allocations: 0.9232 MB / 1.386 GB, free: 8.023 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.396, allocations: 0 / 1.386 GB, free: 8.023 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004535/1.4, allocations: 0.9921 MB / 1.387 GB, free: 7.031 MB / 1.232 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000382/1.401, allocations: 145.5 kB / 1.387 GB, free: 6.879 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008328/1.409, allocations: 4.159 MB / 1.391 GB, free: 2.668 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.409, allocations: 4 kB / 1.391 GB, free: 2.664 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.005024/1.414, allocations: 2.585 MB / 1.394 GB, free: 36 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/1.418, allocations: 0.7641 MB / 1.395 GB, free: 15.3 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.439, allocations: 8.868 MB / 1.403 GB, free: 6.348 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006849/1.446, allocations: 3.035 MB / 1.406 GB, free: 3.27 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001679/1.447, allocations: 455 kB / 1.407 GB, free: 2.82 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/1.448, allocations: 116.5 kB / 1.407 GB, free: 2.707 MB / 1.248 GB Notification: Performance of SimCode: time 1.172e-06/1.448, allocations: 0 / 1.407 GB, free: 2.707 MB / 1.248 GB Notification: Performance of Templates: time 0.08682/1.535, allocations: 44.75 MB / 1.451 GB, free: 6.762 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.279376266989857]