Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.487/1.487, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.649/2.649, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.8003, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01321/0.8136, allocations: 10.08 MB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.8199, allocations: 3.185 MB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.8211, allocations: 35.81 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.8231, allocations: 0.5869 MB / 1.031 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.8252, allocations: 0.7426 MB / 1.032 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.8271, allocations: 0.7482 MB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003474/0.8306, allocations: 2.988 MB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.8344, allocations: 2.623 MB / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.8369, allocations: 1.243 MB / 1.039 GB, free: 12.2 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.8399, allocations: 1.566 MB / 1.041 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0009997/0.8409, allocations: 236 kB / 1.041 GB, free: 10.4 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.8429, allocations: 0.4994 MB / 1.041 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.8448, allocations: 1.068 MB / 1.042 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002728/0.8475, allocations: 1.116 MB / 1.043 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005269/0.8528, allocations: 3.665 MB / 1.047 GB, free: 4.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.8528, allocations: 0 / 1.047 GB, free: 4.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8529, allocations: 0 / 1.047 GB, free: 4.035 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001342/0.853, allocations: 0 / 1.047 GB, free: 4.035 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006107/0.8591, allocations: 2.142 MB / 1.049 GB, free: 1.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.8592, allocations: 19.95 kB / 1.049 GB, free: 1.816 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009585/0.8688, allocations: 1.301 MB / 1.05 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.8718, allocations: 1.259 MB / 1.052 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.872, allocations: 111.4 kB / 1.052 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007693/0.8728, allocations: 156.3 kB / 1.052 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/0.8785, allocations: 3.433 MB / 1.055 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.8786, allocations: 3.938 kB / 1.055 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.8788, allocations: 67.95 kB / 1.055 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002824/0.8791, allocations: 207.1 kB / 1.055 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005193/0.8843, allocations: 3.128 MB / 1.058 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.9027, allocations: 13.61 MB / 1.072 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.9054, allocations: 1.723 MB / 1.073 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.9073, allocations: 1.448 MB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.702e-05/0.9074, allocations: 13 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.9074, allocations: 43.56 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/0.9074, allocations: 0 / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1514/1.059, allocations: 36.66 MB / 1.111 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/1.059, allocations: 81.34 kB / 1.111 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/1.061, allocations: 1.05 MB / 1.112 GB, free: 308 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004814/1.062, allocations: 53.7 kB / 1.112 GB, free: 248 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/1.062, allocations: 0.7873 MB / 1.113 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009628/1.063, allocations: 0.62 MB / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008083/1.064, allocations: 371.3 kB / 1.114 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.064, allocations: 301.1 kB / 1.114 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/1.067, allocations: 1.928 MB / 1.116 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/1.07, allocations: 2.285 MB / 1.118 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005585/1.075, allocations: 4.393 MB / 1.122 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.075, allocations: 4 kB / 1.122 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01988/1.095, allocations: 9.019 MB / 1.131 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.095, allocations: 11.94 kB / 1.131 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/1.095, allocations: 12 kB / 1.131 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01664/1.112, allocations: 5 MB / 1.136 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/1.113, allocations: 195.7 kB / 1.136 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05842/1.171, allocations: 38.93 MB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/1.174, allocations: 103.9 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/1.174, allocations: 64 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001482/1.175, allocations: 0.8134 MB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/1.176, allocations: 138.3 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02002/1.196, allocations: 8.882 MB / 1.184 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/1.196, allocations: 20 kB / 1.184 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.838e-05/1.196, allocations: 28 kB / 1.184 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.196, allocations: 11.95 kB / 1.184 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/1.223, allocations: 13.31 MB / 1.197 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/1.223, allocations: 4 kB / 1.197 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/1.224, allocations: 119.8 kB / 1.197 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01679/1.241, allocations: 4.781 MB / 1.202 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/1.241, allocations: 36 kB / 1.202 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07511/1.316, allocations: 34.86 MB / 1.236 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/1.316, allocations: 4 kB / 1.236 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/1.348, allocations: 8.412 MB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.35, allocations: 0.6124 MB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008819/1.351, allocations: 39.88 kB / 1.245 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/1.354, allocations: 95.88 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/1.355, allocations: 161.6 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004316/1.355, allocations: 52 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00198/1.357, allocations: 0.7343 MB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.357, allocations: 0 / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005625/1.363, allocations: 1.008 MB / 1.247 GB, free: 4.289 MB / 0.9981 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005609/1.364, allocations: 139.7 kB / 1.247 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5979/1.962, allocations: 6.682 MB / 1.253 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.962, allocations: 0.9375 kB / 1.253 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00963/1.971, allocations: 3.829 MB / 1.257 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.973, allocations: 238.8 kB / 1.257 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.988, allocations: 4.982 MB / 1.262 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003211/1.991, allocations: 1.862 MB / 1.264 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00166/1.993, allocations: 358.4 kB / 1.264 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.993, allocations: 65.95 kB / 1.264 GB, free: 217 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.993, allocations: 0 / 1.264 GB, free: 217 MB / 0.9981 GB Notification: Performance of Templates: time 0.0876/2.081, allocations: 59.14 MB / 1.322 GB, free: 175.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches