Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6853/0.6868, allocations: 140.3 MB / 0.9496 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02296/0.7098, allocations: 22.43 MB / 0.9715 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.7214, allocations: 6.248 MB / 0.9776 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.7241, allocations: 85.41 kB / 0.9777 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004892/0.729, allocations: 1.412 MB / 0.979 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004992/0.734, allocations: 1.541 MB / 0.9806 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.7374, allocations: 1.231 MB / 0.9818 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.7475, allocations: 8.856 MB / 0.9904 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.758, allocations: 6.728 MB / 0.997 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.7623, allocations: 2.051 MB / 0.999 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004834/0.7672, allocations: 2.968 MB / 1.002 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.7683, allocations: 316 kB / 1.002 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.7716, allocations: 1.135 MB / 1.003 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002615/0.7742, allocations: 1.898 MB / 1.005 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003077/0.7773, allocations: 2.006 MB / 1.007 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006243/0.7836, allocations: 6.154 MB / 1.013 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7836, allocations: 0 / 1.013 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7836, allocations: 0 / 1.013 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001888/0.7838, allocations: 0 / 1.013 GB, free: 0.918 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007982/0.7918, allocations: 3.816 MB / 1.017 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7919, allocations: 12.03 kB / 1.017 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/0.7981, allocations: 1.206 MB / 1.018 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/0.8027, allocations: 2.219 MB / 1.02 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.803, allocations: 242.4 kB / 1.02 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.8042, allocations: 311.9 kB / 1.021 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.8154, allocations: 6.216 MB / 1.027 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-05/0.8155, allocations: 15.78 kB / 1.027 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.8159, allocations: 143.9 kB / 1.027 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004922/0.8164, allocations: 410.3 kB / 1.027 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007962/0.8244, allocations: 4.666 MB / 1.032 GB, free: 13.29 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03305/0.8575, allocations: 29.13 MB / 1.06 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.8597, allocations: 1.425 MB / 1.062 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.8618, allocations: 1.487 MB / 1.063 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.862, allocations: 16.94 kB / 1.063 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.862, allocations: 43.56 kB / 1.063 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 2.876e-06/0.862, allocations: 0 / 1.063 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1362/0.9982, allocations: 37.23 MB / 1.1 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.9983, allocations: 73.41 kB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/1.001, allocations: 1.415 MB / 1.101 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003462/1.001, allocations: 57.7 kB / 1.101 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/1.002, allocations: 1.538 MB / 1.103 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008217/1.003, allocations: 0.6122 MB / 1.103 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009284/1.004, allocations: 383.3 kB / 1.104 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.004, allocations: 301.1 kB / 1.104 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002706/1.007, allocations: 1.788 MB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/1.01, allocations: 2.35 MB / 1.108 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005978/1.016, allocations: 4.391 MB / 1.112 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/1.016, allocations: 8 kB / 1.112 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01907/1.035, allocations: 8.563 MB / 1.121 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/1.035, allocations: 20 kB / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/1.035, allocations: 16 kB / 1.121 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0155/1.051, allocations: 4.623 MB / 1.125 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.052, allocations: 311.4 kB / 1.125 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04597/1.098, allocations: 29.66 MB / 1.154 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/1.1, allocations: 143.8 kB / 1.155 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/1.101, allocations: 91.98 kB / 1.155 GB, free: 11.39 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002505/1.103, allocations: 1.326 MB / 1.156 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/1.104, allocations: 193.7 kB / 1.156 GB, free: 9.867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/1.122, allocations: 8.452 MB / 1.164 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/1.122, allocations: 16 kB / 1.164 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/1.122, allocations: 24 kB / 1.164 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/1.122, allocations: 7.969 kB / 1.164 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/1.149, allocations: 12.84 MB / 1.177 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/1.149, allocations: 8 kB / 1.177 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/1.15, allocations: 167.7 kB / 1.177 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01513/1.165, allocations: 4.484 MB / 1.181 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003404/1.166, allocations: 43.98 kB / 1.181 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04531/1.211, allocations: 29.28 MB / 1.21 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.211, allocations: 8 kB / 1.21 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.229, allocations: 8.244 MB / 1.218 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.23, allocations: 0.6079 MB / 1.219 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006268/1.231, allocations: 40 kB / 1.219 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.233, allocations: 135.8 kB / 1.219 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008886/1.234, allocations: 172.9 kB / 1.219 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.234, allocations: 44 kB / 1.219 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001688/1.236, allocations: 0.9665 MB / 1.22 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/1.236, allocations: 0 / 1.22 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003813/1.239, allocations: 1.117 MB / 1.221 GB, free: 6.016 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003943/1.24, allocations: 151 kB / 1.221 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01283/1.253, allocations: 6.516 MB / 1.228 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.253, allocations: 0 / 1.228 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009397/1.262, allocations: 4.358 MB / 1.232 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.265, allocations: 490.4 kB / 1.232 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1.281, allocations: 8.96 MB / 1.241 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003911/1.285, allocations: 2.801 MB / 1.244 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/1.285, allocations: 107.4 kB / 1.244 GB, free: 14.36 MB / 1.014 GB Notification: Performance of SimCode: time 1.723e-06/1.285, allocations: 0 / 1.244 GB, free: 14.36 MB / 1.014 GB Notification: Performance of Templates: time 0.595/1.88, allocations: 154 MB / 1.394 GB, free: 168.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches