Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001357/0.001357, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 60.14 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9141/0.9156, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01289/0.9285, allocations: 10.02 MB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005999/0.9346, allocations: 3.049 MB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.9356, allocations: 35.81 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.9378, allocations: 0.6833 MB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.9399, allocations: 0.6922 MB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.9418, allocations: 0.6471 MB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003488/0.9453, allocations: 2.726 MB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/0.9487, allocations: 2.534 MB / 1.228 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.9507, allocations: 1.137 MB / 1.229 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.9533, allocations: 1.379 MB / 1.231 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.954, allocations: 220 kB / 1.231 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.9555, allocations: 487.4 kB / 1.231 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.9568, allocations: 0.9863 MB / 1.232 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.958, allocations: 1.011 MB / 1.233 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.9612, allocations: 3.406 MB / 1.237 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9612, allocations: 0 / 1.237 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9612, allocations: 4 kB / 1.237 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.139e-05/0.9612, allocations: 4 kB / 1.237 GB, free: 0.5195 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003627/0.9649, allocations: 1.947 MB / 1.239 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.9649, allocations: 8.031 kB / 1.239 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.9709, allocations: 0.8883 MB / 1.24 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.973, allocations: 1.153 MB / 1.241 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.9731, allocations: 111.3 kB / 1.241 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.9734, allocations: 144.3 kB / 1.241 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004567/0.978, allocations: 3.021 MB / 1.244 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.978, allocations: 7.906 kB / 1.244 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.9782, allocations: 63.97 kB / 1.244 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002494/0.9785, allocations: 175 kB / 1.244 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.9825, allocations: 2.608 MB / 1.247 GB, free: 6.195 MB / 0.9669 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.01573/0.9983, allocations: 13.48 MB / 1.26 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/1, allocations: 1.301 MB / 1.261 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/1.002, allocations: 1.047 MB / 1.262 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/1.002, allocations: 8.656 kB / 1.262 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.002, allocations: 39.22 kB / 1.262 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/1.002, allocations: 0 / 1.262 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.07343/1.075, allocations: 19.39 MB / 1.281 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.075, allocations: 76.66 kB / 1.281 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/1.076, allocations: 0.9221 MB / 1.282 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/1.077, allocations: 49.7 kB / 1.282 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/1.077, allocations: 0.7323 MB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/1.078, allocations: 489 kB / 1.283 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005262/1.078, allocations: 291.5 kB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.078, allocations: 353.9 kB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.08, allocations: 1.331 MB / 1.285 GB, free: 13.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/1.082, allocations: 1.663 MB / 1.287 GB, free: 11.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/1.086, allocations: 3.082 MB / 1.29 GB, free: 8.395 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.086, allocations: 4 kB / 1.29 GB, free: 8.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01176/1.098, allocations: 5.638 MB / 1.295 GB, free: 2.727 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.098, allocations: 8.656 kB / 1.295 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/1.098, allocations: 15.94 kB / 1.295 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008942/1.107, allocations: 2.712 MB / 1.298 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009844/1.108, allocations: 191.6 kB / 1.298 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03629/1.144, allocations: 25.72 MB / 1.323 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.146, allocations: 92.45 kB / 1.323 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/1.146, allocations: 56 kB / 1.323 GB, free: 5.363 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001212/1.147, allocations: 0.7315 MB / 1.324 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/1.147, allocations: 118.6 kB / 1.324 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.158, allocations: 5.392 MB / 1.33 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.159, allocations: 12 kB / 1.33 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.693e-05/1.159, allocations: 27.94 kB / 1.33 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/1.159, allocations: 7.969 kB / 1.33 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/1.174, allocations: 8.685 MB / 1.338 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.175, allocations: 4 kB / 1.338 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/1.175, allocations: 123.8 kB / 1.338 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008115/1.183, allocations: 2.591 MB / 1.341 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.183, allocations: 28 kB / 1.341 GB, free: 3.473 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03472/1.218, allocations: 24.16 MB / 1.364 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.218, allocations: 4 kB / 1.364 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.229, allocations: 5.256 MB / 1.369 GB, free: 5.402 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/1.23, allocations: 483.6 kB / 1.37 GB, free: 4.91 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/1.23, allocations: 31.91 kB / 1.37 GB, free: 4.879 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/1.231, allocations: 75.89 kB / 1.37 GB, free: 4.805 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005374/1.232, allocations: 125 kB / 1.37 GB, free: 4.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.232, allocations: 40 kB / 1.37 GB, free: 4.641 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008392/1.233, allocations: 0.6434 MB / 1.371 GB, free: 4.004 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.233, allocations: 3.938 kB / 1.371 GB, free: 4 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002422/1.235, allocations: 0.7227 MB / 1.372 GB, free: 3.277 MB / 1.092 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002722/1.235, allocations: 127.2 kB / 1.372 GB, free: 3.145 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007076/1.242, allocations: 4.217 MB / 1.376 GB, free: 14.88 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.242, allocations: 0 / 1.376 GB, free: 14.88 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005341/1.248, allocations: 2.717 MB / 1.378 GB, free: 12.11 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.249, allocations: 227.3 kB / 1.379 GB, free: 11.89 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007083/1.256, allocations: 4.24 MB / 1.383 GB, free: 7.586 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.258, allocations: 1.731 MB / 1.384 GB, free: 5.82 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/1.258, allocations: 63.42 kB / 1.385 GB, free: 5.758 MB / 1.107 GB Notification: Performance of SimCode: time 5.91e-07/1.258, allocations: 3.938 kB / 1.385 GB, free: 5.754 MB / 1.107 GB Notification: Performance of Templates: time 0.07364/1.332, allocations: 60 MB / 1.443 GB, free: 9.738 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches