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.00148/0.00148, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001516/0.001516, allocations: 161.3 kB / 23.54 MB, free: 0.8711 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.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.838/2.838, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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_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: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.959e-05, allocations: 7.25 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04765/0.04768, allocations: 33.02 MB / 0.8431 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.07096, allocations: 11.4 MB / 0.8542 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.07413, allocations: 211.4 kB / 0.8544 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.08665, allocations: 4.282 MB / 0.8586 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.09343, allocations: 2.152 MB / 0.8607 GB, free: 14.94 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007149/0.1006, allocations: 2.423 MB / 0.863 GB, free: 12.51 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.1139, allocations: 8.607 MB / 0.8715 GB, free: 3.883 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01344/0.1273, allocations: 6.186 MB / 0.8775 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.138, allocations: 5.391 MB / 0.8828 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00774/0.1458, allocations: 3.912 MB / 0.8866 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.1479, allocations: 0.7812 MB / 0.8873 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/0.1531, allocations: 1.922 MB / 0.8892 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.005128/0.1582, allocations: 3.278 MB / 0.8924 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.005886/0.1641, allocations: 2.378 MB / 0.8947 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.1824, allocations: 12.25 MB / 0.9067 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1825, allocations: 0 / 0.9067 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.414e-06/0.1825, allocations: 0 / 0.9067 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003945/0.1829, allocations: 3.969 kB / 0.9067 GB, free: 15.59 MB / 0.8698 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.01474/0.1976, allocations: 5.809 MB / 0.9124 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1976, allocations: 8.031 kB / 0.9124 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008065/0.2057, allocations: 1.795 MB / 0.9141 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008927/0.2146, allocations: 3.605 MB / 0.9177 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005433/0.2152, allocations: 415.4 kB / 0.9181 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001909/0.2171, allocations: 0.5432 MB / 0.9186 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.2391, allocations: 9.377 MB / 0.9277 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/0.2393, allocations: 35.95 kB / 0.9278 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.2403, allocations: 236.3 kB / 0.928 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007972/0.2411, allocations: 354.7 kB / 0.9283 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.2556, allocations: 6.814 MB / 0.935 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04411/0.2998, allocations: 24.43 MB / 0.9589 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/0.3039, allocations: 2.308 MB / 0.9611 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.307, allocations: 1.775 MB / 0.9628 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.3071, allocations: 30 kB / 0.9629 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.3072, allocations: 56.56 kB / 0.9629 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=179): time 3.917e-06/0.3072, allocations: 0 / 0.9629 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of matching and sorting (n=182): time 0.02816/0.3353, allocations: 9.741 MB / 0.9724 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.3354, allocations: 73.41 kB / 0.9725 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.3378, allocations: 1.453 MB / 0.9739 GB, free: 9.582 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.338, allocations: 57.7 kB / 0.974 GB, free: 9.52 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.34, allocations: 2.311 MB / 0.9762 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007278/0.3407, allocations: 0.6506 MB / 0.9769 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007394/0.3415, allocations: 404.1 kB / 0.9773 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3416, allocations: 305.1 kB / 0.9775 GB, free: 5.828 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.3439, allocations: 1.176 MB / 0.9787 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.3466, allocations: 1.889 MB / 0.9805 GB, free: 2.441 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/0.3517, allocations: 3.367 MB / 0.9838 GB, free: 14.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.3518, allocations: 12 kB / 0.9838 GB, free: 14.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00951/0.3613, allocations: 4.633 MB / 0.9884 GB, free: 10.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.3613, allocations: 19.94 kB / 0.9884 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-05/0.3614, allocations: 24 kB / 0.9884 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005184/0.3665, allocations: 1.722 MB / 0.9901 GB, free: 8.328 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.3678, allocations: 355.3 kB / 0.9904 GB, free: 7.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02913/0.397, allocations: 17.93 MB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.3988, allocations: 119.9 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/0.3992, allocations: 96 kB / 1.008 GB, free: 5.441 MB / 0.9636 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.004118/0.4033, allocations: 1.894 MB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008268/0.4041, allocations: 286.6 kB / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008713/0.4129, allocations: 4.04 MB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.4129, allocations: 16 kB / 1.014 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.931e-05/0.4129, allocations: 16 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.4129, allocations: 8.078 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.4314, allocations: 7.852 MB / 1.022 GB, free: 7.164 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.4314, allocations: 4 kB / 1.022 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/0.4323, allocations: 183.7 kB / 1.022 GB, free: 6.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004691/0.437, allocations: 1.487 MB / 1.024 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.4371, allocations: 32 kB / 1.024 GB, free: 5.453 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/0.4637, allocations: 16.72 MB / 1.04 GB, free: 4.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/0.4637, allocations: 8 kB / 1.04 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008646/0.4724, allocations: 4.075 MB / 1.044 GB, free: 148 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.4738, allocations: 466.6 kB / 1.044 GB, free: 15.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.4742, allocations: 36 kB / 1.044 GB, free: 15.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4753, allocations: 87.89 kB / 1.044 GB, free: 15.56 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/0.4759, allocations: 173.3 kB / 1.045 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.476, allocations: 48.5 kB / 1.045 GB, free: 15.35 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001687/0.4777, allocations: 0.9271 MB / 1.046 GB, free: 14.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.4777, allocations: 0 / 1.046 GB, free: 14.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003585/0.4813, allocations: 1.008 MB / 1.047 GB, free: 13.43 MB / 1.01 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.0003283/0.4816, allocations: 140 kB / 1.047 GB, free: 13.28 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008076/0.4897, allocations: 4.173 MB / 1.051 GB, free: 9.055 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.4897, allocations: 4 kB / 1.051 GB, free: 9.051 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005027/0.4947, allocations: 2.583 MB / 1.053 GB, free: 6.414 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/0.4984, allocations: 0.7598 MB / 1.054 GB, free: 5.688 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3446/0.8429, allocations: 8.989 MB / 1.063 GB, free: 262.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/0.846, allocations: 3.034 MB / 1.066 GB, free: 261.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001183/0.8472, allocations: 448.6 kB / 1.066 GB, free: 261.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.8475, allocations: 117.3 kB / 1.066 GB, free: 261.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.303e-06/0.8475, allocations: 0 / 1.066 GB, free: 261.9 MB / 1.01 GB Notification: Performance of Templates: time 0.06746/0.915, allocations: 44.78 MB / 1.11 GB, free: 252.8 MB / 1.01 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.684185025049374]