Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.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_10_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_10_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.001559/0.001559, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002267/0.002267, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7307, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01201/0.7427, allocations: 10.06 MB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00591/0.7487, allocations: 3.158 MB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.7499, allocations: 31.81 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.7519, allocations: 0.5368 MB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.7538, allocations: 0.6886 MB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.7554, allocations: 0.686 MB / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.7587, allocations: 3.008 MB / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.7631, allocations: 3.073 MB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.7652, allocations: 1.262 MB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.7677, allocations: 1.659 MB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008272/0.7685, allocations: 236 kB / 1.041 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.7702, allocations: 0.4955 MB / 1.041 GB, free: 9.73 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.7721, allocations: 1.068 MB / 1.042 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.7742, allocations: 1.116 MB / 1.043 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00435/0.7786, allocations: 3.689 MB / 1.047 GB, free: 3.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.7786, allocations: 0 / 1.047 GB, free: 3.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7786, allocations: 0 / 1.047 GB, free: 3.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.615e-05/0.7787, allocations: 3.938 kB / 1.047 GB, free: 3.836 MB / 0.795 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.003908/0.7826, allocations: 2.146 MB / 1.049 GB, free: 1.633 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.7827, allocations: 8.031 kB / 1.049 GB, free: 1.625 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008758/0.7914, allocations: 1.313 MB / 1.05 GB, free: 316 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.7939, allocations: 1.255 MB / 1.051 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/0.7941, allocations: 123.3 kB / 1.052 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.7944, allocations: 148.3 kB / 1.052 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00555/0.8, allocations: 3.433 MB / 1.055 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.8, allocations: 3.938 kB / 1.055 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.8002, allocations: 63.97 kB / 1.055 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/0.8005, allocations: 203.1 kB / 1.055 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/0.8052, allocations: 3.135 MB / 1.058 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01791/0.8231, allocations: 13.61 MB / 1.072 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.8256, allocations: 1.74 MB / 1.073 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.8276, allocations: 1.436 MB / 1.075 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.612e-05/0.8277, allocations: 9 kB / 1.075 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.8277, allocations: 47.56 kB / 1.075 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 3.847e-06/0.8277, allocations: 4 kB / 1.075 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.133/0.9607, allocations: 36.67 MB / 1.111 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.9608, allocations: 69.41 kB / 1.111 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.9623, allocations: 1.05 MB / 1.112 GB, free: 96 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.9626, allocations: 57.7 kB / 1.112 GB, free: 32 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/0.9631, allocations: 0.7873 MB / 1.113 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/0.9638, allocations: 0.6239 MB / 1.113 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007513/0.9645, allocations: 367.3 kB / 1.114 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9647, allocations: 301.1 kB / 1.114 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.9673, allocations: 1.928 MB / 1.116 GB, free: 12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/0.9703, allocations: 2.285 MB / 1.118 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005754/0.976, allocations: 4.394 MB / 1.122 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.9761, allocations: 4 kB / 1.122 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01908/0.9951, allocations: 9.026 MB / 1.131 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.9952, allocations: 11.94 kB / 1.131 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.9952, allocations: 12 kB / 1.131 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01664/1.012, allocations: 4.997 MB / 1.136 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/1.013, allocations: 195.7 kB / 1.136 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05823/1.071, allocations: 38.92 MB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.073, allocations: 103.9 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/1.074, allocations: 64 kB / 1.174 GB, free: 15.12 MB / 0.9356 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.001686/1.075, allocations: 0.8095 MB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/1.076, allocations: 142.3 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01946/1.095, allocations: 8.89 MB / 1.184 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/1.095, allocations: 20 kB / 1.184 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-05/1.095, allocations: 28 kB / 1.184 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.588e-05/1.095, allocations: 11.95 kB / 1.184 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/1.122, allocations: 13.3 MB / 1.197 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.122, allocations: 4.469 kB / 1.197 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/1.122, allocations: 119.8 kB / 1.197 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01628/1.138, allocations: 4.786 MB / 1.202 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/1.139, allocations: 36 kB / 1.202 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05392/1.193, allocations: 34.87 MB / 1.236 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.193, allocations: 4 kB / 1.236 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.212, allocations: 8.408 MB / 1.244 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/1.213, allocations: 0.6085 MB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/1.214, allocations: 43.84 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.215, allocations: 99.86 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009122/1.216, allocations: 161.7 kB / 1.245 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.216, allocations: 44 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009591/1.217, allocations: 0.7343 MB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.217, allocations: 4 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003342/1.221, allocations: 1.008 MB / 1.247 GB, free: 4.078 MB / 0.9981 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.0003023/1.221, allocations: 146.2 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5786/1.799, allocations: 6.677 MB / 1.253 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.8, allocations: 8.031 kB / 1.253 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009384/1.809, allocations: 3.833 MB / 1.257 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.811, allocations: 237.5 kB / 1.257 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.826, allocations: 5.795 MB / 1.263 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/1.828, allocations: 1.862 MB / 1.265 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00115/1.829, allocations: 355.3 kB / 1.265 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.829, allocations: 62.89 kB / 1.265 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.829, allocations: 0 / 1.265 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.07462/1.904, allocations: 59.86 MB / 1.324 GB, free: 173.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches