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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001606/0.001606, allocations: 102.2 kB / 16.27 MB, free: 6 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.001702/0.001702, allocations: 191 kB / 17.2 MB, free: 5.609 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.7 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7938, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01286/0.8067, allocations: 10.02 MB / 1.093 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006035/0.8128, allocations: 3.038 MB / 1.096 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.8135, allocations: 33.72 kB / 1.096 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.8155, allocations: 0.6793 MB / 1.096 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.8173, allocations: 0.7002 MB / 1.097 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.8189, allocations: 0.6267 MB / 1.098 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003421/0.8224, allocations: 2.746 MB / 1.1 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.8255, allocations: 2.548 MB / 1.103 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.8278, allocations: 1.127 MB / 1.104 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.8302, allocations: 1.378 MB / 1.105 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.8307, allocations: 216.6 kB / 1.105 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.832, allocations: 497 kB / 1.106 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.8332, allocations: 0.9792 MB / 1.107 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.8346, allocations: 1.014 MB / 1.108 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.8391, allocations: 3.384 MB / 1.111 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8391, allocations: 5.062 kB / 1.111 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8391, allocations: 0 / 1.111 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.267e-05/0.8392, allocations: 0 / 1.111 GB, free: 2.227 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.004397/0.8436, allocations: 1.948 MB / 1.113 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.8436, allocations: 11.08 kB / 1.113 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005977/0.8496, allocations: 0.8762 MB / 1.114 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.8524, allocations: 1.119 MB / 1.115 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.8525, allocations: 113 kB / 1.115 GB, free: 212 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.8529, allocations: 143.2 kB / 1.115 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/0.8589, allocations: 3.021 MB / 1.118 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.859, allocations: 10 kB / 1.118 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.8592, allocations: 66.66 kB / 1.118 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/0.8595, allocations: 174.4 kB / 1.119 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004574/0.8641, allocations: 2.605 MB / 1.121 GB, free: 13.55 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.01845/0.8826, allocations: 13.56 MB / 1.134 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.8846, allocations: 1.293 MB / 1.136 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.8861, allocations: 1.056 MB / 1.137 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/0.8862, allocations: 9.188 kB / 1.137 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.8862, allocations: 42.25 kB / 1.137 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.8862, allocations: 0 / 1.137 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139): time 0.07599/0.9622, allocations: 19.39 MB / 1.156 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.9623, allocations: 64.72 kB / 1.156 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.9637, allocations: 0.9221 MB / 1.157 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.9639, allocations: 49.7 kB / 1.157 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005848/0.9645, allocations: 0.7322 MB / 1.157 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.9651, allocations: 489 kB / 1.158 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/0.9657, allocations: 291.4 kB / 1.158 GB, free: 468 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.9659, allocations: 357.9 kB / 1.158 GB, free: 104 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.9679, allocations: 1.339 MB / 1.16 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.9701, allocations: 1.659 MB / 1.161 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/0.9745, allocations: 3.085 MB / 1.164 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.9746, allocations: 8 kB / 1.164 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01224/0.9868, allocations: 5.639 MB / 1.17 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.9869, allocations: 8 kB / 1.17 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.9869, allocations: 11.94 kB / 1.17 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009108/0.996, allocations: 2.737 MB / 1.173 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.997, allocations: 191.7 kB / 1.173 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03977/1.037, allocations: 25.72 MB / 1.198 GB, free: 6.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/1.039, allocations: 104.4 kB / 1.198 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.039, allocations: 52 kB / 1.198 GB, free: 6.711 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.001527/1.041, allocations: 0.7362 MB / 1.199 GB, free: 5.965 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/1.041, allocations: 118.6 kB / 1.199 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.053, allocations: 5.392 MB / 1.204 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.053, allocations: 16 kB / 1.204 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.651e-05/1.053, allocations: 20 kB / 1.204 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/1.053, allocations: 7.969 kB / 1.204 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/1.071, allocations: 8.649 MB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.071, allocations: 4 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/1.072, allocations: 115.8 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008828/1.081, allocations: 2.567 MB / 1.215 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/1.081, allocations: 24 kB / 1.215 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03527/1.116, allocations: 22.99 MB / 1.238 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.116, allocations: 11.92 kB / 1.238 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.128, allocations: 5.126 MB / 1.243 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.129, allocations: 479.6 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.129, allocations: 31.89 kB / 1.243 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/1.13, allocations: 79.91 kB / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/1.13, allocations: 117 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.131, allocations: 39.98 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009033/1.131, allocations: 0.6474 MB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 0 / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002421/1.134, allocations: 0.7188 MB / 1.245 GB, free: 5.992 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.0002687/1.134, allocations: 135.8 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008311/1.143, allocations: 4.743 MB / 1.25 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.143, allocations: 0 / 1.25 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005537/1.148, allocations: 2.658 MB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/1.15, allocations: 227 kB / 1.252 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007528/1.157, allocations: 4.196 MB / 1.256 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/1.159, allocations: 1.727 MB / 1.258 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/1.159, allocations: 71.42 kB / 1.258 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of SimCode: time 1.332e-06/1.159, allocations: 4 kB / 1.258 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of Templates: time 0.07345/1.233, allocations: 59.73 MB / 1.317 GB, free: 12.29 MB / 1.045 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=400 -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