Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_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_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001809/0.001809, allocations: 195.7 kB / 16.14 MB, free: 6.633 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.832/2.832, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6653, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02916/0.6945, allocations: 23.22 MB / 1.039 GB, free: 11.47 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.7076, allocations: 6.508 MB / 1.046 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.7098, allocations: 83.5 kB / 1.046 GB, free: 4.863 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004082/0.7139, allocations: 1.35 MB / 1.047 GB, free: 3.512 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.7188, allocations: 1.747 MB / 1.049 GB, free: 1.758 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.7232, allocations: 1.336 MB / 1.05 GB, free: 436 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01403/0.7373, allocations: 10.62 MB / 1.06 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01375/0.7511, allocations: 7.605 MB / 1.068 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006291/0.7574, allocations: 2.409 MB / 1.07 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007204/0.7647, allocations: 3.607 MB / 1.074 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001672/0.7664, allocations: 380 kB / 1.074 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003662/0.7701, allocations: 1.197 MB / 1.075 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004302/0.7744, allocations: 2.315 MB / 1.078 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005506/0.7799, allocations: 2.349 MB / 1.08 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.7908, allocations: 8.393 MB / 1.088 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.7909, allocations: 0 / 1.088 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7909, allocations: 0 / 1.088 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002414/0.7911, allocations: 0 / 1.088 GB, free: 9.387 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01203/0.8032, allocations: 4.428 MB / 1.092 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.8032, allocations: 8.031 kB / 1.092 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009218/0.8125, allocations: 1.685 MB / 1.094 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/0.8185, allocations: 2.575 MB / 1.097 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002756/0.8188, allocations: 279.7 kB / 1.097 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/0.8204, allocations: 360.3 kB / 1.097 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/0.8388, allocations: 7.491 MB / 1.104 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.839, allocations: 11.88 kB / 1.104 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006952/0.8397, allocations: 159.9 kB / 1.105 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006758/0.8404, allocations: 487.3 kB / 1.105 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.8533, allocations: 5.701 MB / 1.111 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05029/0.9036, allocations: 31.7 MB / 1.142 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/0.9075, allocations: 2.093 MB / 1.144 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.9114, allocations: 2.171 MB / 1.146 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.9118, allocations: 17.3 kB / 1.146 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.9119, allocations: 55.88 kB / 1.146 GB, free: 11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 5.14e-06/0.9119, allocations: 0 / 1.146 GB, free: 11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.3067/1.219, allocations: 77.01 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/1.219, allocations: 77.41 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/1.222, allocations: 1.67 MB / 1.223 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005689/1.223, allocations: 65.7 kB / 1.223 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/1.225, allocations: 1.747 MB / 1.225 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.226, allocations: 0.8509 MB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/1.228, allocations: 489.2 kB / 1.226 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.228, allocations: 305.1 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/1.233, allocations: 2.726 MB / 1.229 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00596/1.239, allocations: 3.336 MB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.25, allocations: 6.39 MB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/1.25, allocations: 8 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.6019/1.852, allocations: 14.67 MB / 1.253 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/1.852, allocations: 14.86 kB / 1.253 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/1.852, allocations: 20.31 kB / 1.253 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03361/1.885, allocations: 9.245 MB / 1.262 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.887, allocations: 299.7 kB / 1.262 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06415/1.951, allocations: 47.45 MB / 1.308 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.954, allocations: 223.7 kB / 1.309 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/1.954, allocations: 99.98 kB / 1.309 GB, free: 183.1 MB / 0.9981 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002419/1.957, allocations: 1.581 MB / 1.31 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/1.957, allocations: 245.1 kB / 1.31 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02732/1.985, allocations: 14.75 MB / 1.325 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.985, allocations: 28 kB / 1.325 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001732/1.985, allocations: 44 kB / 1.325 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-05/1.985, allocations: 11.95 kB / 1.325 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03657/2.022, allocations: 20.52 MB / 1.345 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.862e-05/2.022, allocations: 8 kB / 1.345 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/2.022, allocations: 163.7 kB / 1.345 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03352/2.056, allocations: 9.002 MB / 1.354 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005047/2.057, allocations: 59.94 kB / 1.354 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06098/2.117, allocations: 47.01 MB / 1.4 GB, free: 88.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/2.118, allocations: 8 kB / 1.4 GB, free: 88.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02752/2.145, allocations: 14.37 MB / 1.414 GB, free: 74.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002526/2.148, allocations: 0.8455 MB / 1.415 GB, free: 73.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/2.149, allocations: 51.98 kB / 1.415 GB, free: 73.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/2.151, allocations: 207.7 kB / 1.415 GB, free: 73.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/2.153, allocations: 241.4 kB / 1.415 GB, free: 72.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003429/2.153, allocations: 64 kB / 1.415 GB, free: 72.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001731/2.155, allocations: 1.129 MB / 1.416 GB, free: 71.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/2.155, allocations: 0 / 1.416 GB, free: 71.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005518/2.16, allocations: 1.617 MB / 1.418 GB, free: 69.97 MB / 0.9981 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005137/2.161, allocations: 162.7 kB / 1.418 GB, free: 69.81 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01959/2.18, allocations: 10.53 MB / 1.428 GB, free: 59.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/2.18, allocations: 0.875 kB / 1.428 GB, free: 59.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0153/2.196, allocations: 7.315 MB / 1.435 GB, free: 51.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004366/2.2, allocations: 0.5199 MB / 1.436 GB, free: 51.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/2.217, allocations: 10.61 MB / 1.446 GB, free: 40.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004155/2.221, allocations: 3.222 MB / 1.45 GB, free: 37.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001253/2.222, allocations: 395.3 kB / 1.45 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/2.222, allocations: 99.42 kB / 1.45 GB, free: 36.92 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/2.223, allocations: 0 / 1.45 GB, free: 36.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.1481/2.371, allocations: 89.68 MB / 1.538 GB, free: 11.5 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches