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.001521/0.001521, allocations: 111.7 kB / 16.42 MB, free: 6.516 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.001676/0.001676, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.8138, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01262/0.8264, allocations: 10.02 MB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005407/0.8319, allocations: 3.045 MB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.833, allocations: 39.81 kB / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.8353, allocations: 0.6835 MB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.8371, allocations: 0.6922 MB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.8387, allocations: 0.6393 MB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.8419, allocations: 2.738 MB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.845, allocations: 2.53 MB / 1.228 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.8467, allocations: 1.133 MB / 1.229 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.8488, allocations: 1.383 MB / 1.231 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.8494, allocations: 216 kB / 1.231 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.8506, allocations: 483.4 kB / 1.231 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.8518, allocations: 0.9902 MB / 1.232 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.8534, allocations: 1.019 MB / 1.233 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.857, allocations: 3.402 MB / 1.237 GB, free: 464 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8571, allocations: 0 / 1.237 GB, free: 464 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8571, allocations: 0 / 1.237 GB, free: 464 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.665e-05/0.8572, allocations: 0 / 1.237 GB, free: 464 kB / 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.004489/0.8617, allocations: 1.955 MB / 1.239 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.8617, allocations: 8.031 kB / 1.239 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00575/0.8675, allocations: 0.8844 MB / 1.24 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.8697, allocations: 1.161 MB / 1.241 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.8698, allocations: 107.3 kB / 1.241 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003843/0.8702, allocations: 140.4 kB / 1.241 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004909/0.8751, allocations: 3.025 MB / 1.244 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.8752, allocations: 7.906 kB / 1.244 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.8754, allocations: 55.98 kB / 1.244 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/0.8756, allocations: 182.9 kB / 1.244 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.8797, allocations: 2.604 MB / 1.247 GB, free: 6.125 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.01615/0.8959, allocations: 13.49 MB / 1.26 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.8978, allocations: 1.287 MB / 1.261 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.8992, allocations: 1.054 MB / 1.262 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.8993, allocations: 12.64 kB / 1.262 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.8993, allocations: 43.16 kB / 1.262 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.8993, allocations: 4 kB / 1.262 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.07149/0.9708, allocations: 19.39 MB / 1.281 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.9709, allocations: 64.72 kB / 1.281 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.9723, allocations: 0.9183 MB / 1.282 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.9725, allocations: 49.7 kB / 1.282 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.9729, allocations: 0.7283 MB / 1.283 GB, free: 15.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.9735, allocations: 496.9 kB / 1.283 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005951/0.9741, allocations: 291.4 kB / 1.284 GB, free: 14.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9742, allocations: 353.9 kB / 1.284 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.9761, allocations: 1.339 MB / 1.285 GB, free: 13.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.9783, allocations: 1.663 MB / 1.287 GB, free: 11.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.9825, allocations: 3.088 MB / 1.29 GB, free: 8.316 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.9825, allocations: 0 / 1.29 GB, free: 8.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01194/0.9944, allocations: 5.638 MB / 1.295 GB, free: 2.652 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.9945, allocations: 8 kB / 1.295 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.9945, allocations: 8 kB / 1.295 GB, free: 2.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00894/1.003, allocations: 2.723 MB / 1.298 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/1.004, allocations: 195.6 kB / 1.298 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03526/1.04, allocations: 25.7 MB / 1.323 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.041, allocations: 91.89 kB / 1.323 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/1.042, allocations: 59.98 kB / 1.323 GB, free: 5.293 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.001249/1.043, allocations: 0.7393 MB / 1.324 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/1.043, allocations: 118.6 kB / 1.324 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.054, allocations: 5.384 MB / 1.33 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/1.055, allocations: 11.97 kB / 1.33 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.055, allocations: 0 / 1.33 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.056, allocations: 491.5 kB / 1.33 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/1.056, allocations: 20 kB / 1.33 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.057, allocations: 71.91 kB / 1.33 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.058, allocations: 208.8 kB / 1.33 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01144/1.069, allocations: 5.258 MB / 1.335 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00591/1.075, allocations: 4.483 MB / 1.34 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001757/1.077, allocations: 1.435 MB / 1.341 GB, free: 2.992 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009654/1.078, allocations: 0.6434 MB / 1.342 GB, free: 2.348 MB / 1.061 GB Notification: Performance of Backend: time 6.11e-07/1.078, allocations: 0 / 1.342 GB, free: 2.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00698/1.085, allocations: 3.251 MB / 1.345 GB, free: 15.04 MB / 1.076 GB Notification: Performance of SimCode: time 0.006955/1.092, allocations: 4.362 MB / 1.349 GB, free: 10.64 MB / 1.076 GB Notification: Performance of Templates: time 0.05885/1.151, allocations: 38.67 MB / 1.387 GB, free: 4.129 MB / 1.107 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