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.002003/0.002003, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002056/0.002056, allocations: 197.3 kB / 16.14 MB, free: 6.711 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.588/1.588, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.92/2.92, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.00196, allocations: 71.88 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/0.9186, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01359/0.9322, allocations: 9.999 MB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006762/0.939, allocations: 3.053 MB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.9403, allocations: 27.88 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.9426, allocations: 0.6337 MB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.9448, allocations: 0.6615 MB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.9468, allocations: 0.5734 MB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005098/0.9519, allocations: 4.076 MB / 1.035 GB, free: 15.72 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/0.9567, allocations: 2.813 MB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.9587, allocations: 0.9498 MB / 1.039 GB, free: 11.92 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.9615, allocations: 1.437 MB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.9622, allocations: 148 kB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.9638, allocations: 499.2 kB / 1.041 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001681/0.9655, allocations: 0.916 MB / 1.042 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.9676, allocations: 0.9333 MB / 1.043 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004636/0.9723, allocations: 3.361 MB / 1.046 GB, free: 4.621 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.9723, allocations: 0 / 1.046 GB, free: 4.621 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9723, allocations: 0 / 1.046 GB, free: 4.621 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001461/0.9725, allocations: 0 / 1.046 GB, free: 4.621 MB / 0.795 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.007091/0.9796, allocations: 1.947 MB / 1.048 GB, free: 2.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.9796, allocations: 12.03 kB / 1.048 GB, free: 2.605 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006101/0.9858, allocations: 0.8767 MB / 1.049 GB, free: 1.727 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.9886, allocations: 1.122 MB / 1.05 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.9887, allocations: 115.3 kB / 1.05 GB, free: 460 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006093/0.9893, allocations: 136.4 kB / 1.05 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007124/0.9965, allocations: 3.021 MB / 1.053 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/0.9965, allocations: 7.938 kB / 1.053 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/0.9968, allocations: 63.98 kB / 1.053 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002756/0.9971, allocations: 179 kB / 1.053 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005406/1.003, allocations: 2.604 MB / 1.056 GB, free: 10.34 MB / 0.8106 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.02098/1.024, allocations: 13.56 MB / 1.069 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/1.026, allocations: 1.291 MB / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/1.027, allocations: 1.054 MB / 1.071 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-05/1.028, allocations: 12.66 kB / 1.071 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.028, allocations: 39.22 kB / 1.071 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/1.028, allocations: 0 / 1.071 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.0759/1.104, allocations: 19.38 MB / 1.09 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/1.104, allocations: 68.72 kB / 1.09 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.106, allocations: 0.9183 MB / 1.091 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.106, allocations: 49.7 kB / 1.091 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006464/1.106, allocations: 0.7244 MB / 1.092 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000623/1.107, allocations: 492.9 kB / 1.093 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007/1.108, allocations: 291.5 kB / 1.093 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.108, allocations: 357.9 kB / 1.093 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/1.11, allocations: 1.331 MB / 1.094 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/1.113, allocations: 1.666 MB / 1.096 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/1.119, allocations: 3.085 MB / 1.099 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.119, allocations: 0 / 1.099 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01363/1.132, allocations: 5.633 MB / 1.105 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/1.132, allocations: 13.41 kB / 1.105 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.132, allocations: 11.94 kB / 1.105 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009881/1.142, allocations: 2.727 MB / 1.107 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/1.143, allocations: 191.7 kB / 1.107 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0445/1.188, allocations: 23.36 MB / 1.13 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.19, allocations: 95.95 kB / 1.13 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/1.19, allocations: 59.94 kB / 1.13 GB, free: 11.81 MB / 0.8887 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.001808/1.192, allocations: 0.7277 MB / 1.131 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/1.192, allocations: 118.6 kB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.205, allocations: 5.4 MB / 1.137 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.205, allocations: 16 kB / 1.137 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.875e-05/1.205, allocations: 16 kB / 1.137 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/1.205, allocations: 7.969 kB / 1.137 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/1.23, allocations: 8.629 MB / 1.145 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/1.23, allocations: 8.438 kB / 1.145 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/1.231, allocations: 119.8 kB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/1.244, allocations: 2.55 MB / 1.148 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005528/1.245, allocations: 32 kB / 1.148 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04892/1.294, allocations: 20.89 MB / 1.168 GB, free: 4.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.294, allocations: 4 kB / 1.168 GB, free: 4.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.311, allocations: 5.134 MB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.312, allocations: 475.5 kB / 1.173 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/1.313, allocations: 27.98 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.314, allocations: 79.91 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007539/1.315, allocations: 125 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.315, allocations: 36.19 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001365/1.316, allocations: 0.6395 MB / 1.174 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.316, allocations: 3.938 kB / 1.174 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003476/1.32, allocations: 0.7266 MB / 1.175 GB, free: 13.25 MB / 0.9356 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.0004441/1.32, allocations: 135.7 kB / 1.175 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008745/1.329, allocations: 4.137 MB / 1.179 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.329, allocations: 0 / 1.179 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.006115/1.335, allocations: 2.674 MB / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.337, allocations: 207.1 kB / 1.182 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/1.346, allocations: 4.67 MB / 1.187 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/1.349, allocations: 1.711 MB / 1.188 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001055/1.35, allocations: 329.4 kB / 1.189 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/1.35, allocations: 55.44 kB / 1.189 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of SimCode: time 1.423e-06/1.35, allocations: 0 / 1.189 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of Templates: time 0.07441/1.425, allocations: 38.18 MB / 1.226 GB, free: 9.098 MB / 0.9825 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=400 -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/jenkins/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