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.001479/0.001479, allocations: 107.7 kB / 16.41 MB, free: 6.492 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.001593/0.001593, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 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.553/2.553, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.796/0.7973, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01291/0.8103, allocations: 10.03 MB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.8166, allocations: 3.041 MB / 1.18 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.8178, allocations: 39.81 kB / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.8201, allocations: 0.6815 MB / 1.181 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.8221, allocations: 0.7234 MB / 1.181 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.8239, allocations: 0.6446 MB / 1.182 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.8272, allocations: 2.746 MB / 1.185 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.8301, allocations: 2.53 MB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.8321, allocations: 1.133 MB / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.834, allocations: 1.383 MB / 1.19 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.8343, allocations: 220 kB / 1.19 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009123/0.8353, allocations: 483.4 kB / 1.19 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008844/0.8361, allocations: 0.9902 MB / 1.191 GB, free: 11.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.8372, allocations: 1.015 MB / 1.192 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.8403, allocations: 3.415 MB / 1.196 GB, free: 6.645 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8404, allocations: 0 / 1.196 GB, free: 6.645 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8404, allocations: 0 / 1.196 GB, free: 6.645 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.55e-05/0.8404, allocations: 0 / 1.196 GB, free: 6.645 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.003572/0.844, allocations: 1.988 MB / 1.198 GB, free: 4.598 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8441, allocations: 8.922 kB / 1.198 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.8493, allocations: 0.8932 MB / 1.199 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.8517, allocations: 1.169 MB / 1.2 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.8518, allocations: 111.3 kB / 1.2 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.8521, allocations: 144.3 kB / 1.2 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004544/0.8566, allocations: 3.013 MB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.8567, allocations: 11.88 kB / 1.203 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.8569, allocations: 63.97 kB / 1.203 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002058/0.8571, allocations: 179 kB / 1.203 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.8611, allocations: 2.6 MB / 1.206 GB, free: 12.27 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.0156/0.8767, allocations: 13.53 MB / 1.219 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.8786, allocations: 1.295 MB / 1.22 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.8799, allocations: 1.046 MB / 1.221 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.171e-05/0.88, allocations: 12.64 kB / 1.221 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.88, allocations: 43.22 kB / 1.221 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.88, allocations: 4 kB / 1.221 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.06532/0.9453, allocations: 19.41 MB / 1.24 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.9454, allocations: 64.72 kB / 1.24 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.9466, allocations: 0.9223 MB / 1.241 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.9468, allocations: 45.7 kB / 1.241 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.9473, allocations: 0.7501 MB / 1.242 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/0.9477, allocations: 0.4996 MB / 1.242 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005483/0.9483, allocations: 299.5 kB / 1.243 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9485, allocations: 353.9 kB / 1.243 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.9503, allocations: 1.335 MB / 1.244 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.9523, allocations: 1.655 MB / 1.246 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.9562, allocations: 3.097 MB / 1.249 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.9562, allocations: 4 kB / 1.249 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01087/0.9671, allocations: 5.637 MB / 1.254 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.9672, allocations: 12 kB / 1.254 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.9672, allocations: 11.94 kB / 1.254 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008355/0.9756, allocations: 2.725 MB / 1.257 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/0.9764, allocations: 187.7 kB / 1.257 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03372/1.01, allocations: 25.73 MB / 1.282 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1.012, allocations: 95.95 kB / 1.283 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/1.013, allocations: 55.98 kB / 1.283 GB, free: 11.31 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.001792/1.015, allocations: 0.7393 MB / 1.283 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.015, allocations: 123.2 kB / 1.283 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/1.032, allocations: 5.392 MB / 1.289 GB, free: 5.016 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.032, allocations: 12 kB / 1.289 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.195e-05/1.032, allocations: 20 kB / 1.289 GB, free: 4.984 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.032, allocations: 11.91 kB / 1.289 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.056, allocations: 8.697 MB / 1.297 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/1.057, allocations: 4 kB / 1.297 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/1.057, allocations: 119.8 kB / 1.297 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.068, allocations: 2.583 MB / 1.3 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.068, allocations: 27.94 kB / 1.3 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03211/1.1, allocations: 24.18 MB / 1.323 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.1, allocations: 8 kB / 1.323 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.11, allocations: 5.257 MB / 1.329 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009636/1.111, allocations: 496.2 kB / 1.329 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.112, allocations: 24.38 kB / 1.329 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/1.113, allocations: 75.91 kB / 1.329 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005414/1.113, allocations: 129 kB / 1.329 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.113, allocations: 40 kB / 1.329 GB, free: 10.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008527/1.114, allocations: 0.6395 MB / 1.33 GB, free: 9.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.81e-07/1.114, allocations: 0 / 1.33 GB, free: 9.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002295/1.116, allocations: 0.7227 MB / 1.331 GB, free: 9.188 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.0002628/1.117, allocations: 139.1 kB / 1.331 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00852/1.125, allocations: 4.226 MB / 1.335 GB, free: 4.762 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.125, allocations: 0 / 1.335 GB, free: 4.762 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.007648/1.133, allocations: 2.724 MB / 1.338 GB, free: 1.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/1.135, allocations: 225.6 kB / 1.338 GB, free: 1.781 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.145, allocations: 4.287 MB / 1.342 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/1.148, allocations: 1.739 MB / 1.344 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.148, allocations: 63.44 kB / 1.344 GB, free: 11.59 MB / 1.076 GB Notification: Performance of SimCode: time 4.238e-06/1.148, allocations: 0 / 1.344 GB, free: 11.59 MB / 1.076 GB Notification: Performance of Templates: time 0.07408/1.223, allocations: 60 MB / 1.402 GB, free: 15.57 MB / 1.139 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 -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