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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_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.001462/0.001462, allocations: 108.1 kB / 16.38 MB, free: 6.484 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.001658/0.001658, allocations: 190.6 kB / 17.31 MB, free: 5.82 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.553/2.553, allocations: 442.6 MB / 0.7166 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.78 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3204, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02583/0.3463, allocations: 23.42 MB / 1.05 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3571, allocations: 6.496 MB / 1.056 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.3589, allocations: 99.5 kB / 1.056 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003797/0.3627, allocations: 1.484 MB / 1.058 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004395/0.3671, allocations: 1.832 MB / 1.059 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.3705, allocations: 1.456 MB / 1.061 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008166/0.3787, allocations: 6.904 MB / 1.067 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008939/0.3877, allocations: 6.949 MB / 1.074 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5739/0.9616, allocations: 2.838 MB / 1.077 GB, free: 25.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008362/0.97, allocations: 3.48 MB / 1.08 GB, free: 24.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002988/0.9731, allocations: 0.5261 MB / 1.081 GB, free: 24.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005853/0.979, allocations: 1.171 MB / 1.082 GB, free: 24.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006261/0.9853, allocations: 2.464 MB / 1.085 GB, free: 24.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008571/0.9939, allocations: 2.531 MB / 1.087 GB, free: 24.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01582/1.01, allocations: 8.523 MB / 1.095 GB, free: 23.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.01, allocations: 0 / 1.095 GB, free: 23.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/1.01, allocations: 0 / 1.095 GB, free: 23.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003738/1.01, allocations: 1.281 kB / 1.095 GB, free: 23.35 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01721/1.027, allocations: 4.433 MB / 1.1 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.027, allocations: 8.953 kB / 1.1 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/1.039, allocations: 1.684 MB / 1.101 GB, free: 21.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008338/1.048, allocations: 2.693 MB / 1.104 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/1.048, allocations: 277.8 kB / 1.104 GB, free: 20.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/1.051, allocations: 357.5 kB / 1.105 GB, free: 19.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/1.076, allocations: 7.482 MB / 1.112 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003216/1.076, allocations: 25.34 kB / 1.112 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003141/1.079, allocations: 156.7 kB / 1.112 GB, free: 16.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008201/1.08, allocations: 486 kB / 1.112 GB, free: 16.87 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/1.095, allocations: 5.696 MB / 1.118 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04469/1.14, allocations: 31.5 MB / 1.149 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/1.144, allocations: 2.089 MB / 1.151 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.147, allocations: 2.175 MB / 1.153 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/1.148, allocations: 15.94 kB / 1.153 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.148, allocations: 45.03 kB / 1.153 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.927e-06/1.148, allocations: 4 kB / 1.153 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.323/1.471, allocations: 77.02 MB / 1.228 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/1.471, allocations: 77.41 kB / 1.228 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/1.475, allocations: 1.666 MB / 1.23 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0008457/1.476, allocations: 69.17 kB / 1.23 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/1.477, allocations: 1.745 MB / 1.232 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.478, allocations: 0.8583 MB / 1.233 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.479, allocations: 481.2 kB / 1.233 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.479, allocations: 309.1 kB / 1.233 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/1.483, allocations: 2.73 MB / 1.236 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004452/1.488, allocations: 3.332 MB / 1.239 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008761/1.496, allocations: 6.392 MB / 1.245 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/1.496, allocations: 8 kB / 1.245 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03496/1.531, allocations: 14.68 MB / 1.26 GB, free: 11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/1.531, allocations: 12 kB / 1.26 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.532, allocations: 30.75 kB / 1.26 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03066/1.562, allocations: 9.226 MB / 1.269 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.564, allocations: 305.4 kB / 1.269 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08936/1.653, allocations: 52.35 MB / 1.32 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/1.657, allocations: 219.7 kB / 1.32 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006805/1.657, allocations: 104 kB / 1.321 GB, free: 12.02 MB / 1.029 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.004094/1.661, allocations: 1.585 MB / 1.322 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009335/1.662, allocations: 249 kB / 1.322 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03482/1.697, allocations: 14.74 MB / 1.337 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.617e-05/1.697, allocations: 15.94 kB / 1.337 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/1.697, allocations: 0 / 1.337 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/1.7, allocations: 0.8532 MB / 1.338 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.701, allocations: 40 kB / 1.338 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/1.704, allocations: 199.7 kB / 1.338 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/1.706, allocations: 481 kB / 1.338 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02873/1.734, allocations: 11.62 MB / 1.35 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01354/1.748, allocations: 9.077 MB / 1.359 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003947/1.752, allocations: 2.798 MB / 1.361 GB, free: 2.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002201/1.754, allocations: 1.124 MB / 1.362 GB, free: 1.406 MB / 1.061 GB Notification: Performance of Backend: time 1.232e-06/1.754, allocations: 0 / 1.362 GB, free: 1.406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0242/1.778, allocations: 8.297 MB / 1.37 GB, free: 9.121 MB / 1.076 GB Notification: Performance of SimCode: time 0.0217/1.8, allocations: 9.365 MB / 1.38 GB, free: 15.78 MB / 1.092 GB Notification: Performance of Templates: time 0.1324/1.933, allocations: 81.92 MB / 1.46 GB, free: 14.29 MB / 1.17 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/jenkins1/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