Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 103.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.00127, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.649/2.649, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001894, allocations: 64.25 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7714, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01292/0.7844, allocations: 10.08 MB / 1.093 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006851/0.7913, allocations: 3.183 MB / 1.096 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.7925, allocations: 36.69 kB / 1.096 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.7947, allocations: 0.5914 MB / 1.096 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.7971, allocations: 0.7382 MB / 1.097 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.7994, allocations: 0.7408 MB / 1.098 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004488/0.8039, allocations: 2.995 MB / 1.101 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004593/0.8085, allocations: 2.616 MB / 1.103 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.8114, allocations: 1.247 MB / 1.105 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.8149, allocations: 1.561 MB / 1.106 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.816, allocations: 234.7 kB / 1.106 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.8183, allocations: 0.4987 MB / 1.107 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.8209, allocations: 1.071 MB / 1.108 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003391/0.8244, allocations: 1.119 MB / 1.109 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007021/0.8314, allocations: 3.661 MB / 1.113 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8314, allocations: 0 / 1.113 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8314, allocations: 0 / 1.113 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000144/0.8316, allocations: 4.656 kB / 1.113 GB, free: 1.625 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006994/0.8386, allocations: 2.136 MB / 1.115 GB, free: 348 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.8386, allocations: 8.719 kB / 1.115 GB, free: 348 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009685/0.8483, allocations: 1.315 MB / 1.116 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/0.852, allocations: 1.257 MB / 1.117 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.8521, allocations: 120.5 kB / 1.117 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006697/0.8528, allocations: 145.2 kB / 1.117 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006456/0.8593, allocations: 3.439 MB / 1.121 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.8594, allocations: 6.188 kB / 1.121 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.8596, allocations: 67.34 kB / 1.121 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002858/0.8599, allocations: 203.8 kB / 1.121 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005461/0.8654, allocations: 3.123 MB / 1.124 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.8856, allocations: 13.62 MB / 1.137 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.8883, allocations: 1.734 MB / 1.139 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.8904, allocations: 1.441 MB / 1.141 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.8905, allocations: 10.53 kB / 1.141 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.8906, allocations: 47.39 kB / 1.141 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.986e-06/0.8906, allocations: 1.406 kB / 1.141 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.156/1.047, allocations: 36.67 MB / 1.176 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/1.047, allocations: 77.39 kB / 1.176 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/1.049, allocations: 1.05 MB / 1.177 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/1.049, allocations: 57.7 kB / 1.178 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000665/1.05, allocations: 0.7835 MB / 1.178 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009068/1.051, allocations: 0.6238 MB / 1.179 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.052, allocations: 363.4 kB / 1.179 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.052, allocations: 305.1 kB / 1.18 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003091/1.055, allocations: 1.928 MB / 1.181 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/1.058, allocations: 2.285 MB / 1.184 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006644/1.065, allocations: 4.398 MB / 1.188 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.065, allocations: 4 kB / 1.188 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02215/1.087, allocations: 9.017 MB / 1.197 GB, free: 8.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/1.087, allocations: 12 kB / 1.197 GB, free: 8.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.087, allocations: 16 kB / 1.197 GB, free: 8.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/1.106, allocations: 5.005 MB / 1.202 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.107, allocations: 191.6 kB / 1.202 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06424/1.171, allocations: 38.93 MB / 1.24 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/1.173, allocations: 103.9 kB / 1.24 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/1.174, allocations: 75.92 kB / 1.24 GB, free: 11.79 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001932/1.176, allocations: 0.8017 MB / 1.241 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/1.176, allocations: 138.3 kB / 1.241 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0211/1.197, allocations: 8.89 MB / 1.25 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/1.197, allocations: 20 kB / 1.25 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.232e-05/1.197, allocations: 28 kB / 1.25 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/1.198, allocations: 11.97 kB / 1.25 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03007/1.228, allocations: 13.29 MB / 1.263 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.228, allocations: 0 / 1.263 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/1.228, allocations: 123.8 kB / 1.263 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0176/1.246, allocations: 4.788 MB / 1.267 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/1.246, allocations: 32 kB / 1.268 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05866/1.305, allocations: 34.87 MB / 1.302 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.305, allocations: 11.92 kB / 1.302 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/1.326, allocations: 8.392 MB / 1.31 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/1.327, allocations: 0.6163 MB / 1.31 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/1.328, allocations: 43.88 kB / 1.31 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.33, allocations: 91.89 kB / 1.311 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000902/1.331, allocations: 157.7 kB / 1.311 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.331, allocations: 51.98 kB / 1.311 GB, free: 2.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001341/1.332, allocations: 0.7382 MB / 1.311 GB, free: 1.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/1.332, allocations: 0 / 1.311 GB, free: 1.785 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004191/1.336, allocations: 1.004 MB / 1.312 GB, free: 0.7812 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004105/1.337, allocations: 145.2 kB / 1.313 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.349, allocations: 6.702 MB / 1.319 GB, free: 9.871 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.349, allocations: 0 / 1.319 GB, free: 9.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.008519/1.358, allocations: 3.832 MB / 1.323 GB, free: 5.996 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.36, allocations: 244.8 kB / 1.323 GB, free: 5.762 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.371, allocations: 5.27 MB / 1.328 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/1.373, allocations: 1.898 MB / 1.33 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/1.374, allocations: 67.44 kB / 1.33 GB, free: 14.43 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.374, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.061 GB Notification: Performance of Templates: time 0.0836/1.457, allocations: 69.03 MB / 1.398 GB, free: 9.383 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches