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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.005808/0.005809, allocations: 100.7 kB / 15.87 MB, free: 6.305 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.001278/0.001278, allocations: 196.2 kB / 16.79 MB, free: 6.238 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.328/1.328, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 66.02 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3049, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01231/0.3173, allocations: 9.984 MB / 1.063 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005453/0.3228, allocations: 3.049 MB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.3236, allocations: 31.81 kB / 1.066 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.3255, allocations: 0.6331 MB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.3273, allocations: 0.6537 MB / 1.067 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3289, allocations: 0.585 MB / 1.067 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004005/0.3329, allocations: 4.064 MB / 1.071 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/0.3372, allocations: 2.821 MB / 1.074 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.3389, allocations: 0.9537 MB / 1.075 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.3411, allocations: 1.43 MB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005265/0.3416, allocations: 148 kB / 1.077 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.3429, allocations: 491.2 kB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.3442, allocations: 0.9199 MB / 1.078 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.3459, allocations: 0.9372 MB / 1.079 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.3488, allocations: 2.865 MB / 1.082 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3488, allocations: 4 kB / 1.082 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3488, allocations: 0 / 1.082 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001282/0.349, allocations: 0 / 1.082 GB, free: 10.59 MB / 0.8419 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.006189/0.3552, allocations: 1.944 MB / 1.084 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3552, allocations: 19.95 kB / 1.084 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/0.3612, allocations: 0.8767 MB / 1.084 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.3635, allocations: 1.122 MB / 1.085 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.3636, allocations: 111.3 kB / 1.086 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/0.3641, allocations: 144.3 kB / 1.086 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005674/0.3698, allocations: 3.021 MB / 1.089 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.3698, allocations: 7.906 kB / 1.089 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/0.3701, allocations: 63.97 kB / 1.089 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/0.3704, allocations: 174.9 kB / 1.089 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004791/0.3752, allocations: 2.608 MB / 1.091 GB, free: 304 kB / 0.8419 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.0175/0.3927, allocations: 13.57 MB / 1.105 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.3948, allocations: 1.291 MB / 1.106 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.3962, allocations: 1.054 MB / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/0.3963, allocations: 8.656 kB / 1.107 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3963, allocations: 51.2 kB / 1.107 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/0.3963, allocations: 0 / 1.107 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07151/0.4679, allocations: 19.37 MB / 1.126 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.468, allocations: 72.66 kB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.4694, allocations: 0.9183 MB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.4696, allocations: 49.7 kB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/0.4701, allocations: 0.7322 MB / 1.128 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005307/0.4707, allocations: 489 kB / 1.128 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000667/0.4714, allocations: 291.5 kB / 1.128 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4715, allocations: 353.9 kB / 1.129 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.4735, allocations: 1.331 MB / 1.13 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.4757, allocations: 1.67 MB / 1.132 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004236/0.4799, allocations: 3.084 MB / 1.135 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.48, allocations: 0 / 1.135 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01198/0.4919, allocations: 5.646 MB / 1.14 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.492, allocations: 8 kB / 1.14 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.4921, allocations: 11.94 kB / 1.14 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009037/0.5011, allocations: 2.716 MB / 1.143 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.5021, allocations: 191.7 kB / 1.143 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03433/0.5364, allocations: 23.34 MB / 1.166 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.538, allocations: 95.95 kB / 1.166 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.5383, allocations: 59.98 kB / 1.166 GB, free: 1.758 MB / 0.92 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.001484/0.5398, allocations: 0.7276 MB / 1.167 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.5401, allocations: 118.6 kB / 1.167 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.5514, allocations: 5.388 MB / 1.172 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.5515, allocations: 16 kB / 1.172 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.108e-05/0.5515, allocations: 19.98 kB / 1.172 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.5515, allocations: 3.984 kB / 1.172 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.5683, allocations: 8.652 MB / 1.181 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.5684, allocations: 4 kB / 1.181 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.5689, allocations: 119.8 kB / 1.181 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008721/0.5776, allocations: 2.55 MB / 1.183 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.5778, allocations: 27.94 kB / 1.183 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02989/0.6077, allocations: 20.88 MB / 1.204 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.6078, allocations: 4 kB / 1.204 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.6186, allocations: 5.138 MB / 1.209 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/0.6195, allocations: 475.6 kB / 1.209 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.6198, allocations: 28 kB / 1.209 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.6207, allocations: 75.89 kB / 1.209 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005165/0.6212, allocations: 129 kB / 1.209 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.6214, allocations: 32 kB / 1.209 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008909/0.6223, allocations: 0.6473 MB / 1.21 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6223, allocations: 0 / 1.21 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002315/0.6246, allocations: 0.7227 MB / 1.211 GB, free: 3.195 MB / 0.9669 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.0002526/0.6248, allocations: 135.1 kB / 1.211 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00689/0.6317, allocations: 4.153 MB / 1.215 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.6318, allocations: 384 / 1.215 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/0.6369, allocations: 2.662 MB / 1.217 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6385, allocations: 222 kB / 1.218 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007782/0.6463, allocations: 4.933 MB / 1.223 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.648, allocations: 1.739 MB / 1.224 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.6484, allocations: 67.42 kB / 1.224 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of SimCode: time 8.71e-07/0.6484, allocations: 0 / 1.224 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of Templates: time 0.5291/1.177, allocations: 59.73 MB / 1.283 GB, free: 165.7 MB / 0.9981 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