Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001071/0.001071, allocations: 86.17 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.001776/0.001776, 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.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.83, allocations: 142.4 MB / 0.9545 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008627/0.8387, allocations: 9.028 MB / 0.9633 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00589/0.8446, allocations: 2.89 MB / 0.9661 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009899/0.8457, allocations: 31.81 kB / 0.9661 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.8463, allocations: 179.8 kB / 0.9663 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.8482, allocations: 0.5799 MB / 0.9669 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.8498, allocations: 440.2 kB / 0.9673 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004699/0.8545, allocations: 3.176 MB / 0.9704 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/0.8595, allocations: 2.684 MB / 0.973 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.8619, allocations: 0.87 MB / 0.9738 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.8643, allocations: 1.25 MB / 0.9751 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.8646, allocations: 101.9 kB / 0.9752 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.866, allocations: 248.2 kB / 0.9754 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.8671, allocations: 0.8418 MB / 0.9762 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.8677, allocations: 358.5 kB / 0.9766 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.8708, allocations: 2.799 MB / 0.9793 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8708, allocations: 4 kB / 0.9793 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8708, allocations: 0 / 0.9793 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.258e-05/0.8709, allocations: 0 / 0.9793 GB, free: 5.969 MB / 0.7325 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.00325/0.8741, allocations: 1.616 MB / 0.9809 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8742, allocations: 8.031 kB / 0.9809 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/0.8793, allocations: 0.8835 MB / 0.9818 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.8815, allocations: 1.101 MB / 0.9828 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.8816, allocations: 114.8 kB / 0.9829 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.8819, allocations: 140 kB / 0.9831 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005029/0.8869, allocations: 3.005 MB / 0.986 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.887, allocations: 8 kB / 0.986 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.8872, allocations: 63.92 kB / 0.9861 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.8874, allocations: 175 kB / 0.9862 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.8916, allocations: 2.6 MB / 0.9888 GB, free: 12.05 MB / 0.7481 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.01579/0.9074, allocations: 13.52 MB / 1.002 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.9095, allocations: 1.288 MB / 1.003 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.9108, allocations: 1.043 MB / 1.004 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.9109, allocations: 8.656 kB / 1.004 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.9109, allocations: 47.16 kB / 1.004 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.375e-06/0.9109, allocations: 3.938 kB / 1.004 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.06402/0.9749, allocations: 19.45 MB / 1.023 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.975, allocations: 64.72 kB / 1.023 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.9763, allocations: 0.9105 MB / 1.024 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.9764, allocations: 49.7 kB / 1.024 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.977, allocations: 0.7283 MB / 1.025 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.9774, allocations: 485 kB / 1.025 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.9776, allocations: 36 kB / 1.026 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.9778, allocations: 426.7 kB / 1.026 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.9798, allocations: 1.327 MB / 1.027 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.9821, allocations: 1.651 MB / 1.029 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.9844, allocations: 1.552 MB / 1.03 GB, free: 40 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.9844, allocations: 8 kB / 1.03 GB, free: 32 kB / 0.7794 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0116/0.996, allocations: 5.62 MB / 1.036 GB, free: 10.38 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.9961, allocations: 8 kB / 1.036 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.9961, allocations: 8 kB / 1.036 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008406/1.005, allocations: 2.723 MB / 1.039 GB, free: 7.633 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/1.005, allocations: 187.7 kB / 1.039 GB, free: 7.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03284/1.038, allocations: 23.31 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.04, allocations: 91.89 kB / 1.062 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/1.04, allocations: 55.98 kB / 1.062 GB, free: 15.45 MB / 0.8262 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.00143/1.042, allocations: 0.7398 MB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/1.042, allocations: 114.6 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.052, allocations: 5.373 MB / 1.068 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.052, allocations: 15.95 kB / 1.068 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/1.052, allocations: 20 kB / 1.068 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.052, allocations: 7.969 kB / 1.068 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/1.067, allocations: 8.59 MB / 1.076 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.067, allocations: 4 kB / 1.076 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/1.068, allocations: 123.8 kB / 1.076 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007583/1.076, allocations: 2.54 MB / 1.079 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/1.076, allocations: 28 kB / 1.079 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/1.105, allocations: 20.86 MB / 1.099 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.105, allocations: 4 kB / 1.099 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.115, allocations: 5.115 MB / 1.104 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.116, allocations: 475.6 kB / 1.105 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000534/1.117, allocations: 32 kB / 1.105 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.118, allocations: 75.91 kB / 1.105 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/1.119, allocations: 121 kB / 1.105 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.119, allocations: 40 kB / 1.105 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001085/1.12, allocations: 0.6319 MB / 1.105 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.21e-07/1.12, allocations: 0 / 1.105 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002819/1.123, allocations: 0.7304 MB / 1.106 GB, free: 1.008 MB / 0.8575 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.0003025/1.123, allocations: 146.8 kB / 1.106 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007066/1.13, allocations: 4.153 MB / 1.11 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.13, allocations: 0 / 1.11 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005037/1.135, allocations: 2.655 MB / 1.113 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.137, allocations: 211.2 kB / 1.113 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/1.143, allocations: 4.512 MB / 1.118 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.144, allocations: 1.707 MB / 1.119 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008239/1.145, allocations: 329.4 kB / 1.12 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/1.146, allocations: 51.44 kB / 1.12 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/1.146, allocations: 0 / 1.12 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of Templates: time 0.05429/1.2, allocations: 36.01 MB / 1.155 GB, free: 15.2 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches