Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 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_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007722/0.007722, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001766/0.001766, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.12 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3264, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02512/0.3515, allocations: 23.43 MB / 1.231 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.3628, allocations: 6.492 MB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.3648, allocations: 95.56 kB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.3684, allocations: 1.483 MB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.3724, allocations: 1.828 MB / 1.24 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.3757, allocations: 1.458 MB / 1.242 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7165/1.092, allocations: 6.91 MB / 1.248 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009877/1.102, allocations: 6.933 MB / 1.255 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005806/1.108, allocations: 2.881 MB / 1.258 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008148/1.116, allocations: 3.468 MB / 1.261 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003052/1.119, allocations: 0.527 MB / 1.262 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/1.125, allocations: 1.184 MB / 1.263 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005578/1.131, allocations: 2.468 MB / 1.266 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006771/1.138, allocations: 2.527 MB / 1.268 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01536/1.153, allocations: 8.523 MB / 1.276 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.537e-06/1.153, allocations: 0 / 1.276 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.375e-06/1.153, allocations: 0.9062 kB / 1.276 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004221/1.153, allocations: 0 / 1.276 GB, free: 7.918 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.02113/1.175, allocations: 4.433 MB / 1.281 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/1.175, allocations: 9.719 kB / 1.281 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/1.187, allocations: 1.678 MB / 1.282 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007898/1.195, allocations: 2.696 MB / 1.285 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003757/1.195, allocations: 282 kB / 1.285 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002869/1.198, allocations: 364.7 kB / 1.286 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/1.22, allocations: 7.483 MB / 1.293 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/1.22, allocations: 21.09 kB / 1.293 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008239/1.221, allocations: 159.1 kB / 1.293 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007723/1.222, allocations: 486.1 kB / 1.293 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/1.236, allocations: 5.704 MB / 1.299 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/1.285, allocations: 31.5 MB / 1.33 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/1.289, allocations: 2.088 MB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.292, allocations: 2.183 MB / 1.334 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/1.292, allocations: 18.41 kB / 1.334 GB, free: 6.609 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/1.292, allocations: 45.59 kB / 1.334 GB, free: 6.562 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 4.769e-06/1.292, allocations: 0 / 1.334 GB, free: 6.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.3184/1.611, allocations: 77.02 MB / 1.409 GB, free: 3.383 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/1.611, allocations: 77.41 kB / 1.409 GB, free: 3.297 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/1.614, allocations: 1.666 MB / 1.411 GB, free: 1.586 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006484/1.615, allocations: 65.7 kB / 1.411 GB, free: 1.516 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.616, allocations: 1.745 MB / 1.413 GB, free: 15.75 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.617, allocations: 0.8546 MB / 1.414 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/1.619, allocations: 477.3 kB / 1.414 GB, free: 14.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.619, allocations: 313 kB / 1.414 GB, free: 14.12 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/1.623, allocations: 2.726 MB / 1.417 GB, free: 11.39 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/1.627, allocations: 3.333 MB / 1.42 GB, free: 7.824 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008568/1.635, allocations: 6.395 MB / 1.426 GB, free: 1.262 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/1.636, allocations: 4 kB / 1.426 GB, free: 1.258 MB / 1.107 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03285/1.668, allocations: 14.69 MB / 1.441 GB, free: 2.816 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/1.668, allocations: 12 kB / 1.441 GB, free: 2.805 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/1.669, allocations: 16 kB / 1.441 GB, free: 2.789 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03009/1.699, allocations: 9.236 MB / 1.45 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.7, allocations: 305.7 kB / 1.45 GB, free: 9.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08339/1.783, allocations: 52.33 MB / 1.501 GB, free: 4.156 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/1.787, allocations: 223.7 kB / 1.501 GB, free: 3.938 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007102/1.788, allocations: 104 kB / 1.502 GB, free: 3.836 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003835/1.792, allocations: 1.581 MB / 1.503 GB, free: 2.266 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/1.793, allocations: 249 kB / 1.503 GB, free: 2.02 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03279/1.825, allocations: 14.76 MB / 1.518 GB, free: 3.371 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/1.825, allocations: 28 kB / 1.518 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001785/1.826, allocations: 44 kB / 1.518 GB, free: 3.301 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-05/1.826, allocations: 15.95 kB / 1.518 GB, free: 3.285 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04354/1.869, allocations: 20.51 MB / 1.538 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/1.869, allocations: 4 kB / 1.538 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/1.87, allocations: 167.7 kB / 1.538 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02857/1.899, allocations: 9.005 MB / 1.547 GB, free: 5.418 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004693/1.899, allocations: 55.36 kB / 1.547 GB, free: 5.367 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07756/1.977, allocations: 51.91 MB / 1.598 GB, free: 0.625 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.977, allocations: 8 kB / 1.598 GB, free: 0.6172 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03216/2.009, allocations: 14.37 MB / 1.612 GB, free: 2.105 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002587/2.012, allocations: 0.8416 MB / 1.612 GB, free: 1.242 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005968/2.012, allocations: 51.98 kB / 1.612 GB, free: 1.191 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/2.015, allocations: 207.7 kB / 1.613 GB, free: 0.9883 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/2.016, allocations: 241.4 kB / 1.613 GB, free: 0.7539 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/2.016, allocations: 68 kB / 1.613 GB, free: 0.6875 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001652/2.018, allocations: 1.121 MB / 1.614 GB, free: 15.54 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.41e-07/2.018, allocations: 0 / 1.614 GB, free: 15.54 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.005489/2.024, allocations: 1.617 MB / 1.616 GB, free: 13.93 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004503/2.024, allocations: 167 kB / 1.616 GB, free: 13.75 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02375/2.048, allocations: 10.54 MB / 1.626 GB, free: 3.133 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/2.048, allocations: 0.875 kB / 1.626 GB, free: 3.133 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01885/2.067, allocations: 7.314 MB / 1.633 GB, free: 11.76 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/2.07, allocations: 0.552 MB / 1.634 GB, free: 11.22 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/2.087, allocations: 8.69 MB / 1.642 GB, free: 2.457 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004332/2.092, allocations: 3.224 MB / 1.645 GB, free: 15.2 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.00139/2.093, allocations: 395.5 kB / 1.646 GB, free: 14.8 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/2.093, allocations: 95.44 kB / 1.646 GB, free: 14.71 MB / 1.342 GB Notification: Performance of SimCode: time 1.613e-06/2.094, allocations: 3.938 kB / 1.646 GB, free: 14.71 MB / 1.342 GB Notification: Performance of Templates: time 0.1447/2.238, allocations: 92.69 MB / 1.736 GB, free: 2.34 MB / 1.42 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches