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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.000988/0.0009923, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00815/0.00815, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005924/0.0005924, allocations: 8.812 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4091, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01148/0.4206, allocations: 9.55 MB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005915/0.4266, allocations: 3.014 MB / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008747/0.4275, allocations: 31.81 kB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000658/0.4282, allocations: 178.7 kB / 1.071 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.4301, allocations: 0.6575 MB / 1.072 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.4316, allocations: 0.55 MB / 1.072 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.4359, allocations: 4.06 MB / 1.076 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00476/0.4407, allocations: 3.117 MB / 1.079 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.4423, allocations: 0.8366 MB / 1.08 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.4445, allocations: 1.277 MB / 1.081 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.4449, allocations: 100 kB / 1.081 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.4461, allocations: 455.2 kB / 1.082 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.4473, allocations: 0.8418 MB / 1.083 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.4485, allocations: 0.8842 MB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.4515, allocations: 3.255 MB / 1.087 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.4515, allocations: 3.984 kB / 1.087 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4515, allocations: 0 / 1.087 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.479e-05/0.4516, allocations: 4 kB / 1.087 GB, free: 8.512 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.002954/0.4546, allocations: 1.593 MB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4546, allocations: 12.02 kB / 1.088 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/0.4604, allocations: 0.8844 MB / 1.089 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.4623, allocations: 1.122 MB / 1.09 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/0.4624, allocations: 115.3 kB / 1.09 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.4627, allocations: 136.4 kB / 1.091 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004965/0.4676, allocations: 3.023 MB / 1.094 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.4677, allocations: 7.938 kB / 1.094 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.4679, allocations: 55.98 kB / 1.094 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.4681, allocations: 175 kB / 1.094 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004106/0.4722, allocations: 2.604 MB / 1.096 GB, free: 14.59 MB / 0.8575 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.01517/0.4874, allocations: 13.54 MB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.4893, allocations: 1.296 MB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.4906, allocations: 1.047 MB / 1.112 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.4907, allocations: 12.66 kB / 1.112 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4907, allocations: 39.22 kB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.4907, allocations: 0 / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07473/0.5655, allocations: 19.47 MB / 1.131 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.5656, allocations: 68.72 kB / 1.131 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.5668, allocations: 0.9183 MB / 1.132 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.567, allocations: 49.7 kB / 1.132 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.5675, allocations: 0.7283 MB / 1.133 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.5679, allocations: 492.9 kB / 1.133 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.5682, allocations: 129.6 kB / 1.133 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5683, allocations: 349.9 kB / 1.133 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.5702, allocations: 1.335 MB / 1.135 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.5723, allocations: 1.663 MB / 1.136 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/0.5763, allocations: 3.084 MB / 1.139 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5763, allocations: 0 / 1.139 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01205/0.5884, allocations: 5.632 MB / 1.145 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.5884, allocations: 9.719 kB / 1.145 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.5885, allocations: 15.88 kB / 1.145 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008726/0.5972, allocations: 2.731 MB / 1.148 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5983, allocations: 195.7 kB / 1.148 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03519/0.6335, allocations: 23.33 MB / 1.171 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6351, allocations: 87.89 kB / 1.171 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.6353, allocations: 63.92 kB / 1.171 GB, free: 184 kB / 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.001401/0.6367, allocations: 0.7393 MB / 1.171 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.637, allocations: 114.6 kB / 1.172 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/0.6486, allocations: 5.392 MB / 1.177 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.6486, allocations: 12 kB / 1.177 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-05/0.6487, allocations: 20 kB / 1.177 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/0.6487, allocations: 7.969 kB / 1.177 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.6651, allocations: 8.618 MB / 1.185 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.6652, allocations: 8.062 kB / 1.185 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.6657, allocations: 123.8 kB / 1.185 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008493/0.6742, allocations: 2.548 MB / 1.188 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.6744, allocations: 28 kB / 1.188 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03077/0.7052, allocations: 20.87 MB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.7052, allocations: 8 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.7162, allocations: 5.13 MB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009433/0.7171, allocations: 483.5 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.7173, allocations: 28 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.7183, allocations: 71.91 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/0.7189, allocations: 129 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.719, allocations: 40 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008989/0.7199, allocations: 0.6356 MB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7199, allocations: 0 / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002484/0.7224, allocations: 0.7227 MB / 1.215 GB, free: 1.641 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.0002774/0.7227, allocations: 135.1 kB / 1.216 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00702/0.7297, allocations: 4.151 MB / 1.22 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.7298, allocations: 0 / 1.22 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/0.7349, allocations: 2.662 MB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.7366, allocations: 211.6 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.7432, allocations: 4.689 MB / 1.227 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.7448, allocations: 1.711 MB / 1.229 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008128/0.7456, allocations: 321.5 kB / 1.229 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.7458, allocations: 59.44 kB / 1.229 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.7458, allocations: 0 / 1.229 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of Templates: time 0.6191/1.365, allocations: 36.71 MB / 1.265 GB, free: 169.3 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/jenkins/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