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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001043/0.001042, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001185/0.001185, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.882/2.882, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004232, allocations: 12.88 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4214, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01237/0.4339, allocations: 9.03 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006696/0.4406, allocations: 2.882 MB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.442, allocations: 31.81 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009539/0.443, allocations: 178.7 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.4454, allocations: 0.5873 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.4472, allocations: 443.2 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005027/0.4522, allocations: 3.186 MB / 1.074 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005544/0.4578, allocations: 2.67 MB / 1.077 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.4602, allocations: 0.8601 MB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.4629, allocations: 1.254 MB / 1.079 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0006512/0.4636, allocations: 104 kB / 1.079 GB, free: 64 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.4652, allocations: 243.8 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.467, allocations: 0.8457 MB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.4681, allocations: 352.9 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.4726, allocations: 2.798 MB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.4726, allocations: 0 / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.667e-06/0.4726, allocations: 4 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001763/0.4728, allocations: 0 / 1.083 GB, free: 11.82 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005656/0.4785, allocations: 1.616 MB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.4785, allocations: 12.03 kB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.4844, allocations: 0.8835 MB / 1.085 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/0.4876, allocations: 1.098 MB / 1.086 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4878, allocations: 114.9 kB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008456/0.4886, allocations: 140 kB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00798/0.4966, allocations: 3.005 MB / 1.09 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.86e-05/0.4967, allocations: 7.938 kB / 1.09 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.4971, allocations: 59.98 kB / 1.09 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000332/0.4975, allocations: 182.9 kB / 1.09 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005894/0.5034, allocations: 2.592 MB / 1.092 GB, free: 1.906 MB / 0.8419 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.02077/0.5242, allocations: 13.52 MB / 1.106 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.5264, allocations: 1.303 MB / 1.107 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.528, allocations: 1.055 MB / 1.108 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.956e-05/0.5281, allocations: 8.656 kB / 1.108 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.5282, allocations: 39.22 kB / 1.108 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 3.276e-06/0.5282, allocations: 0 / 1.108 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139): time 0.06976/0.598, allocations: 19.45 MB / 1.127 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.5981, allocations: 64.72 kB / 1.127 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.5996, allocations: 0.9105 MB / 1.128 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.5998, allocations: 49.7 kB / 1.128 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.601, allocations: 0.7244 MB / 1.129 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.602, allocations: 489 kB / 1.129 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.6022, allocations: 32 kB / 1.129 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000545/0.6028, allocations: 422.7 kB / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.6049, allocations: 1.327 MB / 1.131 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/0.6078, allocations: 1.651 MB / 1.132 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.6109, allocations: 1.556 MB / 1.134 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.611, allocations: 4 kB / 1.134 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01256/0.6235, allocations: 5.619 MB / 1.139 GB, free: 240 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.6236, allocations: 16.03 kB / 1.139 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.6237, allocations: 11.94 kB / 1.139 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008734/0.6324, allocations: 2.711 MB / 1.142 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.6334, allocations: 191.7 kB / 1.142 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03813/0.6715, allocations: 23.3 MB / 1.165 GB, free: 5.449 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.6733, allocations: 96.08 kB / 1.165 GB, free: 5.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.6735, allocations: 56 kB / 1.165 GB, free: 5.301 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001455/0.6749, allocations: 0.7355 MB / 1.166 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.6753, allocations: 110.7 kB / 1.166 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.6864, allocations: 5.38 MB / 1.171 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.6865, allocations: 16 kB / 1.171 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-05/0.6865, allocations: 20 kB / 1.171 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.6865, allocations: 7.969 kB / 1.171 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.7032, allocations: 8.609 MB / 1.18 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.7033, allocations: 4 kB / 1.18 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.7038, allocations: 111.9 kB / 1.18 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007753/0.7116, allocations: 2.537 MB / 1.182 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.7119, allocations: 28 kB / 1.182 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03111/0.743, allocations: 20.86 MB / 1.203 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.743, allocations: 4.188 kB / 1.203 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.7534, allocations: 5.111 MB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7546, allocations: 483.4 kB / 1.208 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.7548, allocations: 32 kB / 1.208 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008205/0.7556, allocations: 75.89 kB / 1.208 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000511/0.7562, allocations: 121 kB / 1.208 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/0.7563, allocations: 39.94 kB / 1.208 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008882/0.7572, allocations: 0.6395 MB / 1.209 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7572, allocations: 0 / 1.209 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002638/0.7598, allocations: 0.7227 MB / 1.21 GB, free: 6.84 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002723/0.7601, allocations: 139.1 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007082/0.7672, allocations: 4.142 MB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7672, allocations: 0 / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005272/0.7725, allocations: 2.655 MB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.774, allocations: 208.6 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/0.7809, allocations: 4.532 MB / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.7827, allocations: 1.704 MB / 1.223 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000891/0.7837, allocations: 321.5 kB / 1.223 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.7838, allocations: 59.42 kB / 1.223 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of SimCode: time 8.12e-07/0.7838, allocations: 0 / 1.223 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of Templates: time 0.6338/1.418, allocations: 35.99 MB / 1.258 GB, free: 174.2 MB / 0.9981 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/jenkins/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