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.001646/0.001646, allocations: 104.1 kB / 16.39 MB, free: 6.379 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.001874/0.001874, allocations: 192.5 kB / 17.33 MB, free: 5.848 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.514/1.514, allocations: 222.9 MB / 241 MB, free: 15.21 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.72/2.72, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.11 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0136/1.091, allocations: 10.04 MB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005841/1.097, allocations: 3.037 MB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/1.097, allocations: 39.81 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/1.1, allocations: 0.6931 MB / 1.181 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/1.101, allocations: 0.7234 MB / 1.181 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/1.103, allocations: 0.6453 MB / 1.182 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003392/1.106, allocations: 2.742 MB / 1.185 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/1.11, allocations: 2.53 MB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/1.112, allocations: 1.145 MB / 1.188 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/1.114, allocations: 1.371 MB / 1.19 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000392/1.115, allocations: 224 kB / 1.19 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/1.116, allocations: 495.3 kB / 1.19 GB, free: 12.1 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/1.117, allocations: 0.9863 MB / 1.191 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/1.118, allocations: 1.011 MB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004254/1.122, allocations: 3.412 MB / 1.196 GB, free: 6.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.122, allocations: 4 kB / 1.196 GB, free: 6.672 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/1.122, allocations: 0 / 1.196 GB, free: 6.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.728e-05/1.122, allocations: 0 / 1.196 GB, free: 6.672 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.004943/1.127, allocations: 1.988 MB / 1.198 GB, free: 4.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.127, allocations: 12.92 kB / 1.198 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005868/1.133, allocations: 0.8931 MB / 1.199 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/1.136, allocations: 1.165 MB / 1.2 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/1.136, allocations: 115.3 kB / 1.2 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003641/1.136, allocations: 140.3 kB / 1.2 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00565/1.142, allocations: 3.017 MB / 1.203 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/1.142, allocations: 4 kB / 1.203 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/1.142, allocations: 67.97 kB / 1.203 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/1.143, allocations: 174.9 kB / 1.203 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004568/1.147, 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.01855/1.166, allocations: 13.52 MB / 1.219 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/1.168, allocations: 1.292 MB / 1.22 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/1.169, allocations: 1.043 MB / 1.221 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/1.17, allocations: 8.656 kB / 1.221 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.17, allocations: 51.16 kB / 1.221 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 4.439e-06/1.17, allocations: 3.984 kB / 1.221 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.07676/1.246, allocations: 19.41 MB / 1.24 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/1.247, allocations: 68.72 kB / 1.24 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.248, allocations: 0.9184 MB / 1.241 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.248, allocations: 49.69 kB / 1.241 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/1.249, allocations: 0.7501 MB / 1.242 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/1.249, allocations: 0.5035 MB / 1.242 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006151/1.25, allocations: 295.5 kB / 1.243 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002405/1.25, allocations: 353.9 kB / 1.243 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/1.252, allocations: 1.335 MB / 1.244 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/1.255, allocations: 1.655 MB / 1.246 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/1.26, allocations: 3.089 MB / 1.249 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.26, allocations: 4 kB / 1.249 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01272/1.272, allocations: 5.641 MB / 1.254 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/1.272, allocations: 8 kB / 1.254 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.272, allocations: 15.94 kB / 1.254 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009245/1.282, allocations: 2.718 MB / 1.257 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008823/1.283, allocations: 195.6 kB / 1.257 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0401/1.323, allocations: 25.73 MB / 1.282 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.324, allocations: 95.95 kB / 1.283 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.324, allocations: 56 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.001257/1.326, allocations: 0.7392 MB / 1.283 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/1.326, allocations: 123.2 kB / 1.283 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.338, allocations: 5.388 MB / 1.289 GB, free: 5.055 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/1.338, allocations: 12 kB / 1.289 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/1.338, allocations: 20 kB / 1.289 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/1.338, allocations: 11.91 kB / 1.289 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.356, allocations: 8.701 MB / 1.297 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.356, allocations: 4.469 kB / 1.297 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/1.356, allocations: 119.8 kB / 1.297 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008927/1.365, allocations: 2.585 MB / 1.3 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.366, allocations: 24 kB / 1.3 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.039/1.405, allocations: 24.19 MB / 1.323 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.405, allocations: 4.125 kB / 1.324 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.416, allocations: 5.257 MB / 1.329 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.417, allocations: 496.2 kB / 1.329 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/1.418, allocations: 27.98 kB / 1.329 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009431/1.419, allocations: 75.91 kB / 1.329 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006073/1.419, allocations: 129 kB / 1.329 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.419, allocations: 36 kB / 1.329 GB, free: 10.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000935/1.42, allocations: 0.6395 MB / 1.33 GB, free: 9.941 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.71e-07/1.42, allocations: 0 / 1.33 GB, free: 9.941 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002495/1.423, allocations: 0.7227 MB / 1.331 GB, free: 9.219 MB / 1.061 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.0002787/1.423, allocations: 140.2 kB / 1.331 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007802/1.431, allocations: 4.217 MB / 1.335 GB, free: 4.805 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.431, allocations: 0 / 1.335 GB, free: 4.805 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005734/1.437, allocations: 2.724 MB / 1.338 GB, free: 2.031 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.438, allocations: 225.3 kB / 1.338 GB, free: 1.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/1.445, allocations: 4.015 MB / 1.342 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/1.447, allocations: 1.704 MB / 1.343 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008184/1.448, allocations: 329.4 kB / 1.344 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/1.448, allocations: 55.44 kB / 1.344 GB, free: 11.62 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/1.448, allocations: 3.938 kB / 1.344 GB, free: 11.62 MB / 1.076 GB Notification: Performance of Templates: time 0.06585/1.514, allocations: 40.41 MB / 1.383 GB, free: 3.352 MB / 1.107 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 -s cvode -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