Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001497/0.001497, allocations: 113.1 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.001778/0.001778, allocations: 183 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.562/1.562, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8219, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01165/0.8336, allocations: 10.02 MB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006353/0.8399, allocations: 3.047 MB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.8411, allocations: 37.72 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.8433, allocations: 0.6767 MB / 1.102 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.8455, allocations: 0.6917 MB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.8474, allocations: 0.6416 MB / 1.103 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004483/0.8519, allocations: 2.736 MB / 1.106 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/0.8553, allocations: 2.537 MB / 1.109 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.8576, allocations: 1.133 MB / 1.11 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.8598, allocations: 1.384 MB / 1.111 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004911/0.8603, allocations: 215.7 kB / 1.111 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.8617, allocations: 488.5 kB / 1.112 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.863, allocations: 0.9841 MB / 1.113 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.8645, allocations: 1.021 MB / 1.114 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.8691, allocations: 3.404 MB / 1.117 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8691, allocations: 0 / 1.117 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8691, allocations: 1.375 kB / 1.117 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.13e-05/0.8692, allocations: 0 / 1.117 GB, free: 6.074 MB / 0.8731 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.00461/0.8738, allocations: 1.948 MB / 1.119 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8739, allocations: 9.688 kB / 1.119 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/0.8799, allocations: 0.8886 MB / 1.12 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.8822, allocations: 1.164 MB / 1.121 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.8823, allocations: 107 kB / 1.121 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.8827, allocations: 143.5 kB / 1.121 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/0.8881, allocations: 3.021 MB / 1.124 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.8882, allocations: 2.766 kB / 1.124 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.8884, allocations: 66.88 kB / 1.124 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002404/0.8887, allocations: 177.2 kB / 1.124 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004435/0.8931, allocations: 2.607 MB / 1.127 GB, free: 1.895 MB / 0.8731 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.01671/0.9098, allocations: 13.48 MB / 1.14 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.9119, allocations: 1.297 MB / 1.141 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.9133, allocations: 1.048 MB / 1.142 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.9134, allocations: 10.05 kB / 1.142 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.9134, allocations: 38.88 kB / 1.142 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.797e-06/0.9134, allocations: 0 / 1.142 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139): time 0.07571/0.9891, allocations: 19.4 MB / 1.161 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.9892, allocations: 70.22 kB / 1.161 GB, free: 15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.9905, allocations: 0.9176 MB / 1.162 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.9908, allocations: 50.42 kB / 1.162 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.9912, allocations: 0.731 MB / 1.163 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.9917, allocations: 492.4 kB / 1.163 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005763/0.9923, allocations: 285.5 kB / 1.164 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9924, allocations: 357.7 kB / 1.164 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.9943, allocations: 1.338 MB / 1.165 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.9963, allocations: 1.656 MB / 1.167 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/1, allocations: 3.082 MB / 1.17 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/1, allocations: 8 kB / 1.17 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01153/1.012, allocations: 5.641 MB / 1.176 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/1.012, allocations: 8 kB / 1.176 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/1.012, allocations: 11.94 kB / 1.176 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008742/1.021, allocations: 2.717 MB / 1.178 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/1.022, allocations: 191.7 kB / 1.178 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0363/1.058, allocations: 25.71 MB / 1.203 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/1.06, allocations: 95.95 kB / 1.204 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/1.061, allocations: 55.94 kB / 1.204 GB, free: 6.129 MB / 0.9356 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.001837/1.062, allocations: 0.7393 MB / 1.204 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/1.063, allocations: 122.6 kB / 1.204 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/1.075, allocations: 5.38 MB / 1.21 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.075, allocations: 20 kB / 1.21 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.733e-05/1.075, allocations: 16 kB / 1.21 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/1.075, allocations: 7.969 kB / 1.21 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.093, allocations: 8.693 MB / 1.218 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.093, allocations: 3.984 kB / 1.218 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/1.093, allocations: 119.8 kB / 1.218 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008585/1.102, allocations: 2.596 MB / 1.221 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/1.102, allocations: 28 kB / 1.221 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03596/1.138, allocations: 24.14 MB / 1.245 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.138, allocations: 11.98 kB / 1.245 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.15, allocations: 5.249 MB / 1.25 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.151, allocations: 491.6 kB / 1.25 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005045/1.152, allocations: 28 kB / 1.25 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.153, allocations: 79.89 kB / 1.25 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006332/1.154, allocations: 117 kB / 1.25 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.154, allocations: 36.38 kB / 1.25 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001082/1.155, allocations: 0.6551 MB / 1.251 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.543e-06/1.155, allocations: 0 / 1.251 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003521/1.158, allocations: 0.7226 MB / 1.252 GB, free: 4.051 MB / 0.9825 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.000349/1.159, allocations: 131.2 kB / 1.252 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007822/1.167, allocations: 4.217 MB / 1.256 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.167, allocations: 0 / 1.256 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005625/1.172, allocations: 2.713 MB / 1.259 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.174, allocations: 240.4 kB / 1.259 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/1.183, allocations: 4.23 MB / 1.263 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/1.185, allocations: 1.731 MB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/1.186, allocations: 67.42 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.186, allocations: 4 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of Templates: time 0.07763/1.263, allocations: 60 MB / 1.323 GB, free: 10.5 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches