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.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001232/0.001232, allocations: 199 kB / 16.14 MB, free: 6.645 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.82/2.82, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 69.14 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3192, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02469/0.344, allocations: 23.24 MB / 1.075 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.3554, allocations: 6.504 MB / 1.081 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.358, allocations: 83.5 kB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004126/0.3621, allocations: 1.349 MB / 1.083 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/0.3673, allocations: 1.751 MB / 1.084 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.3711, allocations: 1.332 MB / 1.086 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01038/0.3815, allocations: 10.6 MB / 1.096 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.3921, allocations: 7.624 MB / 1.103 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.3961, allocations: 2.413 MB / 1.106 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005397/0.4016, allocations: 3.595 MB / 1.109 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.4026, allocations: 383.9 kB / 1.11 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.4054, allocations: 1.194 MB / 1.111 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002428/0.4079, allocations: 2.315 MB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002819/0.4107, allocations: 2.353 MB / 1.115 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008062/0.4188, allocations: 8.393 MB / 1.124 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4188, allocations: 0 / 1.124 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4188, allocations: 0 / 1.124 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001863/0.419, allocations: 0 / 1.124 GB, free: 15.42 MB / 0.8887 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.01087/0.4299, allocations: 4.424 MB / 1.128 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.43, allocations: 12.03 kB / 1.128 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008463/0.4384, allocations: 1.681 MB / 1.129 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/0.4442, allocations: 2.567 MB / 1.132 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.4445, allocations: 279.7 kB / 1.132 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.4458, allocations: 360.2 kB / 1.133 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.4594, allocations: 7.491 MB / 1.14 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.315e-05/0.4595, allocations: 15.86 kB / 1.14 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004231/0.4599, allocations: 163.9 kB / 1.14 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005526/0.4605, allocations: 479.4 kB / 1.141 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008798/0.4693, allocations: 5.705 MB / 1.146 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03482/0.5041, allocations: 31.72 MB / 1.177 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.5071, allocations: 2.09 MB / 1.179 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/0.5101, allocations: 2.178 MB / 1.181 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.5104, allocations: 17.31 kB / 1.181 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.5104, allocations: 43.88 kB / 1.181 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 2.926e-06/0.5104, allocations: 0 / 1.181 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=251): time 0.992/1.502, allocations: 77 MB / 1.257 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/1.502, allocations: 80.22 kB / 1.257 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/1.505, allocations: 1.665 MB / 1.258 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004624/1.506, allocations: 68.75 kB / 1.258 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/1.507, allocations: 1.742 MB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009212/1.508, allocations: 0.853 MB / 1.261 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.509, allocations: 484.2 kB / 1.261 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/1.509, allocations: 303.8 kB / 1.262 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004162/1.513, allocations: 2.734 MB / 1.264 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004926/1.518, allocations: 3.331 MB / 1.267 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007962/1.526, allocations: 6.399 MB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/1.526, allocations: 5.812 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03109/1.557, allocations: 14.68 MB / 1.288 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.557, allocations: 15.78 kB / 1.288 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.557, allocations: 13.75 kB / 1.288 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02832/1.586, allocations: 9.237 MB / 1.297 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.587, allocations: 303.5 kB / 1.297 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06379/1.651, allocations: 47.44 MB / 1.344 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.654, allocations: 215.7 kB / 1.344 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007624/1.655, allocations: 104 kB / 1.344 GB, free: 115.5 MB / 0.9981 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.003508/1.659, allocations: 1.588 MB / 1.346 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009004/1.66, allocations: 241.1 kB / 1.346 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02853/1.688, allocations: 14.76 MB / 1.36 GB, free: 98.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/1.688, allocations: 27 kB / 1.36 GB, free: 98.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002009/1.688, allocations: 44 kB / 1.36 GB, free: 98.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.76e-05/1.689, allocations: 11.95 kB / 1.36 GB, free: 98.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03893/1.728, allocations: 20.51 MB / 1.38 GB, free: 78.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/1.728, allocations: 11.98 kB / 1.38 GB, free: 78.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/1.728, allocations: 159.8 kB / 1.381 GB, free: 77.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02691/1.755, allocations: 9.002 MB / 1.389 GB, free: 68.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004551/1.756, allocations: 44 kB / 1.389 GB, free: 68.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06256/1.818, allocations: 47.03 MB / 1.435 GB, free: 21.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.818, allocations: 11.94 kB / 1.435 GB, free: 21.03 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02796/1.846, allocations: 14.36 MB / 1.449 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.848, allocations: 0.8431 MB / 1.45 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008998/1.849, allocations: 55.91 kB / 1.45 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/1.852, allocations: 207.7 kB / 1.45 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/1.853, allocations: 249.2 kB / 1.451 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003178/1.853, allocations: 67.66 kB / 1.451 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001649/1.855, allocations: 1.121 MB / 1.452 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.855, allocations: 0 / 1.452 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006844/1.862, allocations: 1.617 MB / 1.453 GB, free: 2.332 MB / 0.9981 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.0005635/1.862, allocations: 163 kB / 1.454 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02252/1.885, allocations: 10.53 MB / 1.464 GB, free: 7.582 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.885, allocations: 0 / 1.464 GB, free: 7.582 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01795/1.903, allocations: 7.313 MB / 1.471 GB, free: 220 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/1.908, allocations: 0.5154 MB / 1.471 GB, free: 15.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.928, allocations: 10.62 MB / 1.482 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005198/1.933, allocations: 3.224 MB / 1.485 GB, free: 1.785 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001382/1.934, allocations: 387.3 kB / 1.485 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/1.935, allocations: 99.38 kB / 1.485 GB, free: 1.301 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/1.935, allocations: 0 / 1.485 GB, free: 1.301 MB / 1.029 GB Notification: Performance of Templates: time 0.1378/2.073, allocations: 89.69 MB / 1.573 GB, free: 7.863 MB / 1.123 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