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.009676/0.009676, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001856/0.001856, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.747/2.747, allocations: 437 MB / 0.7105 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3443, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01287/0.3572, allocations: 10.08 MB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006101/0.3633, allocations: 3.174 MB / 1.18 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.3644, allocations: 35.81 kB / 1.18 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.3664, allocations: 0.5984 MB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.3688, allocations: 0.7427 MB / 1.181 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.3708, allocations: 0.733 MB / 1.182 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00381/0.3746, allocations: 3.004 MB / 1.185 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003594/0.3782, allocations: 2.594 MB / 1.187 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.3809, allocations: 1.25 MB / 1.188 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/0.384, allocations: 1.558 MB / 1.19 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.3849, allocations: 236 kB / 1.19 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.3867, allocations: 0.4993 MB / 1.191 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.3881, allocations: 1.072 MB / 1.192 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.3894, allocations: 1.109 MB / 1.193 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.3932, allocations: 3.699 MB / 1.196 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3932, allocations: 3.938 kB / 1.196 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.968e-06/0.3932, allocations: 3.984 kB / 1.196 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.001e-05/0.3933, allocations: 0 / 1.196 GB, free: 8.238 MB / 0.9512 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.00419/0.3975, allocations: 2.194 MB / 1.198 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3975, allocations: 8.031 kB / 1.198 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008629/0.4062, allocations: 1.318 MB / 1.2 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.4086, allocations: 1.306 MB / 1.201 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.761e-05/0.4087, allocations: 111.4 kB / 1.201 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.409, allocations: 148.3 kB / 1.201 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006019/0.415, allocations: 3.437 MB / 1.205 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/0.4151, allocations: 11.94 kB / 1.205 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.4153, allocations: 67.97 kB / 1.205 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/0.4156, allocations: 207.1 kB / 1.205 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005052/0.4207, allocations: 3.127 MB / 1.208 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.4385, allocations: 13.56 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.4411, allocations: 1.731 MB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.4433, allocations: 1.444 MB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.4434, allocations: 16.98 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.4435, allocations: 39.56 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/0.4435, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.99/1.434, allocations: 36.7 MB / 1.26 GB, free: 78.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/1.434, allocations: 71.31 kB / 1.26 GB, free: 77.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/1.436, allocations: 1.05 MB / 1.261 GB, free: 77.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002945/1.437, allocations: 59.91 kB / 1.261 GB, free: 77.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/1.437, allocations: 0.8121 MB / 1.262 GB, free: 76.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006646/1.438, allocations: 0.6519 MB / 1.263 GB, free: 76.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00083/1.439, allocations: 365 kB / 1.263 GB, free: 76.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/1.439, allocations: 305.1 kB / 1.263 GB, free: 76.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/1.442, allocations: 1.929 MB / 1.265 GB, free: 75.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/1.445, allocations: 2.29 MB / 1.268 GB, free: 74.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006739/1.452, allocations: 4.393 MB / 1.272 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/1.452, allocations: 2.75 kB / 1.272 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02255/1.474, allocations: 9.03 MB / 1.281 GB, free: 69.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/1.475, allocations: 11.97 kB / 1.281 GB, free: 69.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.475, allocations: 13.27 kB / 1.281 GB, free: 69.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/1.493, allocations: 4.968 MB / 1.286 GB, free: 68.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/1.494, allocations: 199 kB / 1.286 GB, free: 68.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05576/1.549, allocations: 38.93 MB / 1.324 GB, free: 44.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/1.552, allocations: 103.9 kB / 1.324 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/1.552, allocations: 68 kB / 1.324 GB, free: 44.07 MB / 0.9981 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.001537/1.554, allocations: 0.7979 MB / 1.325 GB, free: 43.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/1.554, allocations: 143.1 kB / 1.325 GB, free: 43.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/1.572, allocations: 8.898 MB / 1.333 GB, free: 34.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/1.572, allocations: 20 kB / 1.334 GB, free: 34.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.909e-05/1.572, allocations: 31.94 kB / 1.334 GB, free: 34.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/1.572, allocations: 11.95 kB / 1.334 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.594, allocations: 13.4 MB / 1.347 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.594, allocations: 8.094 kB / 1.347 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/1.594, allocations: 119.8 kB / 1.347 GB, free: 20.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01502/1.609, allocations: 4.839 MB / 1.351 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/1.61, allocations: 32 kB / 1.352 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05155/1.661, allocations: 36.85 MB / 1.388 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.661, allocations: 7.938 kB / 1.388 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/1.682, allocations: 8.599 MB / 1.396 GB, free: 1.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.684, allocations: 0.648 MB / 1.397 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/1.684, allocations: 36 kB / 1.397 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.685, allocations: 95.88 kB / 1.397 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008946/1.686, allocations: 161.6 kB / 1.397 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.686, allocations: 44.88 kB / 1.397 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001065/1.687, allocations: 0.7437 MB / 1.398 GB, free: 15.76 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.687, allocations: 0 / 1.398 GB, free: 15.76 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003513/1.691, allocations: 1.004 MB / 1.399 GB, free: 14.76 MB / 1.045 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003782/1.691, allocations: 143.7 kB / 1.399 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.702, allocations: 5.957 MB / 1.405 GB, free: 8.609 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.702, allocations: 7.938 kB / 1.405 GB, free: 8.602 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.008507/1.711, allocations: 3.936 MB / 1.408 GB, free: 4.617 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.712, allocations: 244 kB / 1.409 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009138/1.722, allocations: 5.152 MB / 1.414 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/1.724, allocations: 1.87 MB / 1.415 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008838/1.724, allocations: 346.6 kB / 1.416 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/1.725, allocations: 63.42 kB / 1.416 GB, free: 12.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.363e-06/1.725, allocations: 0 / 1.416 GB, free: 12.89 MB / 1.061 GB Notification: Performance of Templates: time 0.09206/1.817, allocations: 61.21 MB / 1.476 GB, free: 15.81 MB / 1.123 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