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.00913/0.00913, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002095/0.002095, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.11 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8842, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01139/0.8956, allocations: 10.01 MB / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005235/0.9009, allocations: 3.049 MB / 1.22 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007736/0.9017, allocations: 35.81 kB / 1.221 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.9037, allocations: 0.6787 MB / 1.221 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.9052, allocations: 0.6922 MB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.9067, allocations: 0.6506 MB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.9094, allocations: 2.734 MB / 1.225 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.9121, allocations: 2.526 MB / 1.228 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.9137, allocations: 1.137 MB / 1.229 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.9155, allocations: 1.383 MB / 1.23 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.9158, allocations: 216 kB / 1.23 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.9167, allocations: 491.4 kB / 1.231 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008197/0.9175, allocations: 0.9824 MB / 1.232 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009049/0.9185, allocations: 1.015 MB / 1.233 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.9213, allocations: 3.41 MB / 1.236 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9213, allocations: 0 / 1.236 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9213, allocations: 0 / 1.236 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.192e-05/0.9213, allocations: 4 kB / 1.236 GB, free: 0.5117 MB / 0.9512 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.003262/0.9246, allocations: 1.943 MB / 1.238 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.9247, allocations: 8.031 kB / 1.238 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.9307, allocations: 0.8883 MB / 1.239 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.9326, allocations: 1.157 MB / 1.24 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.9327, allocations: 115.3 kB / 1.24 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.933, allocations: 140.3 kB / 1.24 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.9375, allocations: 3.017 MB / 1.243 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.9375, allocations: 11.84 kB / 1.243 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.9377, allocations: 63.97 kB / 1.243 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.9379, allocations: 175 kB / 1.243 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.9418, allocations: 2.608 MB / 1.246 GB, free: 6.188 MB / 0.9669 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.01468/0.9565, allocations: 13.5 MB / 1.259 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.9583, allocations: 1.289 MB / 1.26 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.9597, allocations: 1.05 MB / 1.261 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.9597, allocations: 12.66 kB / 1.261 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.9598, allocations: 39.22 kB / 1.261 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.945e-06/0.9598, allocations: 0 / 1.261 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.07442/1.034, allocations: 19.39 MB / 1.28 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.034, allocations: 68.72 kB / 1.28 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.036, allocations: 0.9221 MB / 1.281 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.036, allocations: 49.7 kB / 1.281 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/1.036, allocations: 0.7282 MB / 1.282 GB, free: 15.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/1.037, allocations: 485 kB / 1.283 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005408/1.037, allocations: 295.4 kB / 1.283 GB, free: 15.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.037, allocations: 357.9 kB / 1.283 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/1.039, allocations: 1.331 MB / 1.284 GB, free: 13.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/1.041, allocations: 1.659 MB / 1.286 GB, free: 11.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/1.045, allocations: 3.082 MB / 1.289 GB, free: 8.391 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.045, allocations: 7.938 kB / 1.289 GB, free: 8.383 MB / 1.014 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01138/1.056, allocations: 5.634 MB / 1.295 GB, free: 2.723 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/1.056, allocations: 8 kB / 1.295 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.056, allocations: 19.92 kB / 1.295 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008825/1.065, allocations: 2.713 MB / 1.297 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/1.066, allocations: 191.6 kB / 1.297 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03633/1.102, allocations: 25.7 MB / 1.323 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.104, allocations: 95.94 kB / 1.323 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/1.104, allocations: 56 kB / 1.323 GB, free: 5.363 MB / 1.045 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.001584/1.106, allocations: 0.7393 MB / 1.323 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/1.106, allocations: 118.6 kB / 1.324 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.119, allocations: 5.392 MB / 1.329 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.119, allocations: 19.94 kB / 1.329 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-05/1.119, allocations: 23.94 kB / 1.329 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/1.119, allocations: 3.984 kB / 1.329 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/1.136, allocations: 8.685 MB / 1.337 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.136, allocations: 4 kB / 1.337 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/1.137, allocations: 123.8 kB / 1.337 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008704/1.146, allocations: 2.588 MB / 1.34 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/1.146, allocations: 27.94 kB / 1.34 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03438/1.18, allocations: 24.16 MB / 1.364 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.18, allocations: 4.188 kB / 1.364 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.191, allocations: 5.256 MB / 1.369 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009739/1.192, allocations: 491.9 kB / 1.369 GB, free: 4.898 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/1.193, allocations: 31.91 kB / 1.369 GB, free: 4.867 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.194, allocations: 83.89 kB / 1.369 GB, free: 4.785 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000555/1.194, allocations: 121 kB / 1.369 GB, free: 4.664 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.195, allocations: 32 kB / 1.369 GB, free: 4.633 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009021/1.196, allocations: 0.6474 MB / 1.37 GB, free: 3.992 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.71e-07/1.196, allocations: 0 / 1.37 GB, free: 3.992 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002427/1.198, allocations: 0.7227 MB / 1.371 GB, free: 3.27 MB / 1.092 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.0002756/1.198, allocations: 135.1 kB / 1.371 GB, free: 3.129 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007021/1.205, allocations: 4.206 MB / 1.375 GB, free: 14.87 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.205, allocations: 0 / 1.375 GB, free: 14.87 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005284/1.211, allocations: 2.709 MB / 1.378 GB, free: 12.11 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.212, allocations: 224.8 kB / 1.378 GB, free: 11.89 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/1.22, allocations: 3.986 MB / 1.382 GB, free: 7.855 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/1.222, allocations: 1.692 MB / 1.383 GB, free: 6.129 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000872/1.223, allocations: 333.4 kB / 1.384 GB, free: 5.801 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/1.223, allocations: 63.38 kB / 1.384 GB, free: 5.738 MB / 1.107 GB Notification: Performance of SimCode: time 8.51e-07/1.223, allocations: 0 / 1.384 GB, free: 5.738 MB / 1.107 GB Notification: Performance of Templates: time 0.06508/1.288, allocations: 40.33 MB / 1.423 GB, free: 13.55 MB / 1.154 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