Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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") 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_10_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.001452/0.001452, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001594/0.001594, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.57/2.57, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9406/0.9427, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01244/0.9551, allocations: 10.02 MB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005506/0.9607, allocations: 3.037 MB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.9615, allocations: 35.81 kB / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.9636, allocations: 0.6854 MB / 1.181 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.9656, allocations: 0.7234 MB / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.9673, allocations: 0.6543 MB / 1.182 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003296/0.9706, allocations: 2.734 MB / 1.185 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.9741, allocations: 2.534 MB / 1.187 GB, free: 15.33 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.9761, allocations: 1.137 MB / 1.188 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.9792, allocations: 1.379 MB / 1.19 GB, free: 12.81 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008645/0.9801, allocations: 219.9 kB / 1.19 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.9818, allocations: 491.4 kB / 1.19 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001585/0.9834, allocations: 0.9785 MB / 1.191 GB, free: 11.13 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.9857, allocations: 1.019 MB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.9901, allocations: 3.419 MB / 1.196 GB, free: 6.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.9901, allocations: 0 / 1.196 GB, free: 6.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9901, allocations: 0 / 1.196 GB, free: 6.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001124/0.9902, allocations: 4 kB / 1.196 GB, free: 6.68 MB / 0.92 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.005136/0.9954, allocations: 1.984 MB / 1.198 GB, free: 4.637 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.9954, allocations: 12.92 kB / 1.198 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/1.001, allocations: 0.8893 MB / 1.199 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/1.004, allocations: 1.173 MB / 1.2 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/1.004, allocations: 111.3 kB / 1.2 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/1.004, allocations: 140.4 kB / 1.2 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00587/1.01, allocations: 3.021 MB / 1.203 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/1.01, allocations: 0 / 1.203 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/1.01, allocations: 67.97 kB / 1.203 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/1.011, allocations: 179 kB / 1.203 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/1.015, allocations: 2.612 MB / 1.206 GB, free: 12.29 MB / 0.9356 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.0178/1.033, allocations: 13.51 MB / 1.219 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.035, allocations: 1.292 MB / 1.22 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/1.037, allocations: 1.054 MB / 1.221 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/1.037, allocations: 8.656 kB / 1.221 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.037, allocations: 43.22 kB / 1.221 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/1.037, allocations: 0 / 1.221 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.06823/1.105, allocations: 19.41 MB / 1.24 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.105, allocations: 68.72 kB / 1.24 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.107, allocations: 0.9184 MB / 1.241 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/1.107, allocations: 49.64 kB / 1.241 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/1.108, allocations: 0.754 MB / 1.242 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/1.108, allocations: 0.4996 MB / 1.242 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/1.109, allocations: 291.5 kB / 1.243 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.109, allocations: 357.9 kB / 1.243 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/1.111, allocations: 1.335 MB / 1.244 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/1.113, allocations: 1.655 MB / 1.246 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00414/1.117, allocations: 3.093 MB / 1.249 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.118, allocations: 4 kB / 1.249 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01165/1.129, allocations: 5.641 MB / 1.254 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.129, allocations: 8 kB / 1.254 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.129, allocations: 8.656 kB / 1.254 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008714/1.138, allocations: 2.73 MB / 1.257 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/1.139, allocations: 187.7 kB / 1.257 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03744/1.176, allocations: 25.74 MB / 1.282 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.178, allocations: 95.95 kB / 1.283 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/1.178, allocations: 63.92 kB / 1.283 GB, free: 11.35 MB / 1.014 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.001336/1.179, allocations: 0.7276 MB / 1.283 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/1.18, allocations: 131.2 kB / 1.283 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.191, allocations: 5.384 MB / 1.289 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/1.191, allocations: 7.969 kB / 1.289 GB, free: 5.055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.191, allocations: 7.938 kB / 1.289 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.192, allocations: 488.2 kB / 1.289 GB, free: 4.551 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/1.193, allocations: 35.98 kB / 1.289 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009387/1.194, allocations: 68.28 kB / 1.289 GB, free: 4.449 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/1.194, allocations: 208.9 kB / 1.289 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01101/1.205, allocations: 5.264 MB / 1.295 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006054/1.211, allocations: 4.484 MB / 1.299 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001794/1.213, allocations: 1.439 MB / 1.3 GB, free: 9.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001001/1.214, allocations: 0.6434 MB / 1.301 GB, free: 8.379 MB / 1.029 GB Notification: Performance of Backend: time 1.082e-06/1.214, allocations: 0 / 1.301 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006991/1.221, allocations: 3.262 MB / 1.304 GB, free: 5.062 MB / 1.029 GB Notification: Performance of SimCode: time 0.007606/1.229, allocations: 4.424 MB / 1.309 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of Templates: time 0.05629/1.285, allocations: 37.87 MB / 1.345 GB, free: 10.88 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches